Verifying Basic POP3\SMTP Connectivity Using Telnet

Version 1

    Details

    Testing Mail Servers using Telnet.

    NOTE: If you are unable to Telnet to the mail server or send\retrieve e-mail using the telnet command, you will not be able to use GoldMine to send or retrieve e-mail. If you are having any one of these problems using Telnet you will need to contact your System Administrator, mail server administrator or Internet service provider for technical support.

    For troubleshooting POP3\SMTP servers retrieving\Sending e-mails complete the following tests to determine if the servers are responding:


    Resolution

    Testing the POP server

    1. Click on Start > Run. In the Open text box, type in CMD and press Enter.
    2. From the Terminal window that opens, type Telnet and press Enter.
    3. Type set localecho and press Enter to configure the Telnet window to display what you type.
    4. Type in the following to start communications with the POP mail server:
    Open <POP sever name or IP address> 110   For example Open 10.10.6.10 110

    NOTE: The default port defined for communications to a POP server is 110. Your service provider or mail server administrator may have defined a different port for your server. If there is difficulty establishing a connection through the default port, consult your service provider or mail server administrator for information about the server configuration.

    Telnet should respond with  +OK

    5. Type USER <username> and press Enter. (Substitute the user's e-mail username in place of username.)

    Telnet should respond with  +OK

    6. Type PASS <password> and press Enter. Be careful, since Local Echo was turned on -- the user password will be shown on the screen.

    7. After pressing Enter, either a message that begins +OK or -ERR should be returned.

    +OK means that messages can now be retrieved and you have entered a valid pop3 Username and Password.
    -ERR means there is something wrong. To try again, go back to step 5 and redo the username entry. When a POP session starts, the only command it should accept is USER and after that the only command it should accept is PASS. If PASS command is wrong, then it goes back to only understanding USER.

    8. To exit Telnet type QUIT

    Testing SMTP Connectivity

    1. Click on Start > Run. In the Open text box, type in CMD and press Enter.
    2. From the Terminal window that opens, type Telnet and press Enter.
    3. Now type <set localecho> and press Enter to configure the Telnet window to display what you type.

    Type in the following to start communications with the SMTP mail server:
    open <SMTP sever name or IP address> 25   For Example. Open 10.10.6.10 25

    The default port defined for communications to a SMTP server is 25. Your Internet service provider or Mail server administrator may have defined a different port for your server. If there is difficulty establishing a connection through the default port, consult your Internet service provider or Mail server administrator for information about the server configuration.

    4. Type HELO and press Enter.
    5. Type MAIL FROM: <enter email address of sender> Press Enter.  For Example MAIL FROM: [email protected]
    6. Type RCPT TO: <enter recipients email address> Press Enter.  For Example RCPT FROM: [email protected]
    7. Type DATA and press Enter.
    8. Type To: <Recipient> Press Enter
    9. Type From: <Sender> Press Enter
    10. Type Subject: “This is a Test” Press Enter
    11. Press Enter then type “This is a test” then press Enter
    12. Type a period "." and press Enter.
    13. The server should respond with something similar to "Message sent".
    14. To exit Telnet type QUIT

    The e-mail address specified in the RCPT TO: line should now receive an e-mail that reads, "This is a test". 

     

    To learn more about TELNET please visit http://technet.microsoft.com/en-us/library/c.aspx