Posted by: R Manimaran | December 1, 2010

Testing the SMTP Server mail configuration

Testing the SMTP

After Installing the SMTP in my server I configured the Outlook to the mail sending/receiving operation. But is there is any other quick way to check our SMTP is configured correctly and working.

Here is the way using telnet.

Open the Command Prompt in the machine where you have configured the SMTP.

Connection:

Type :

telnet <serverName> 25

Here 25 is the Port number used by the SMTP server <serverName>

After you hit the Enter key you will get the following Output.

The above output shows that it get response from your SMTP Server.

Checking Response:

Type:

Helo <servername>

Enter From Address:

Type:

Mail from: <sender mail address>

Enter To Address :

Type:

rcpt to: <mail Receiver address>

Mail Subject :

Type :

subject: This is the test mail using telnet

Mail content :

Type:

data

Now type the mail content and press Enter Key followed by a dot (.) and another enter Key.

Now your mail will be send successfully.

To exit the telnet :

Type:

Quit

Advertisements

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

Categories

%d bloggers like this: