How to Test the SMTP Communication of email server is by using Telnet

ball-63527_640

One of the ways to test the SMTP Communication of your email server is by using Telnet. But…

 

What is Telnet?

Telnet is a protocol or a language used to talk to computers and other machines

Telnet Client allows a computer to connect to a remote Telnet server and run applications on that server. Once logged on, a user is given a command prompt that can be used as if it had been opened locally on the Telnet server’s console.

 

How to Test the SMTP Communication of email server is by using Telnet

We are going to show you how you can use Telnet to test SMTP communication of your email server.

  1. Click on Start and type in cmd to go into the command prompt

img1

  1. In the command prompt type telnet and press ENTER

img2

  1. In the Telnet, Type o <your mail server domain> 25 and press ENTER

img3

  1. Type EHLO <your mail server domain>, and press ENTER

img4

  1. Type AUTH LOGIN and press ENTER
  1. Enter your user name encrypted in base 64 and press ENTER
  1. Enter your password encrypted in base 64 and press ENTER

img5

  1. Type MAIL FROM: <your email address> and press ENTER
  1. Type RCPT TO: <your target email address> and press ENTER
  1. Type DATA and press Enter
  1. Type a test message and press ENTER, example “Test Email.”, press ENTER, type “.” and press ENTER again to end the message.

 

Here how it should look like

img6

img7

You should receive an email like this

img8

Congratulations your email server is working fine.