How to Test the SMTP Server

  • 1.       Press Windows+R - or go to the Start menu and select ‘Run’.

    2.       Type in telnet smtp.server.com 25 and press OK

     If the SMTP server is up and running and there is no issue, you will see 220
     response;

     

           220 serverDNSName.server.local Microsoft ESMTP MAIL 
           Service, Version: 8.0.9200.163

           84 ready at Mon, 14 Jul 2014 15:56:14 -0500

     

     If the SMTP server is not using port 25, then replace 25 with the port number 
     that is in use.

     

    3.       Type the following statement:

     

            ehlo test.com

     

    If everything is okay, you will get the following results:

    250- serverDNSName.server.local Hello

    250-TURN

    250-SIZE 5242880

    250-ETRN

    250-PIPELINING

    250-DSN

    250-ENHANCEDSTATUSCODES

    250-8bitmime

    250-BINARYMIME

    250-CHUNKING

    250-VRFY

    250-TLS

    250-STARTTLS

    250 OK

     

    4.       Further proceed with testing by sending the email from within telnet as follows:

    Type in and press enter after every line:

    mail from: aa@alligatortek.com

    rcpt to: bb@alligatortek.com

    data

    Hello Hello, Testing 1 2 3 Hello

    Let’s see if the email works from this sender to this recipient.

     

    Thanks,

     

    You will see the following output;

     

    250 2.1.0 aa@alligatortek.com....Sender OK

    250 2.1.5 bb@alligatortek.com

    250 2.6.0 <serverNameGR881Np7vXee00000057@serverDNSName.server.local> Queued mail for

    delivery

     

    The email will be send to bb@alligatortek.com. If the email is not sent or if a failure response is received, try steps 1 through 4 from the SMTP server itself. If it works from the server - but not from your local computer - check the firewall settings on the server.

     

    The email will be send to bb@alligatortek.com. If the email is not sent or if a failure response is received, try steps 1 through 4 from the SMTP server itself. If it works from the server - but not from your local computer - check the firewall settings on the server.

    Leave a comment