How to send mail using Telnet (This is to test SMTP mail sending issues)

Open a Command Prompt and type the following to test sending mail using SMTP:
(This is used to test that SMTP is working and that port 25 is open.)

 

telnet mail.domain.ext 25
HELO
MAIL FROM: mail@domain.ext        (this  e-mail address should be the address from the domain that you are testing from)
RCPT TO: mail@otherdomain.ext
DATA
Subject:-type subject here- then press enter twice (these are needed to conform to RFC 882)
To tell the mail server that you have completed the message enter a single “.” on a line on it’s own.

Advertisements

About Tiens van Zyl

I am a Microsoft Exchange Engineer for a local IT Outsource company assisting with 3rd line support to our Enterprise clients and Hosted Exchange Service. I'm a passionate gamer and also a very active musician. View all posts by Tiens van Zyl

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: