Verify SMTP configuration from Cmd Prompt using TELNET

Verify SMTP configuration from Cmd Prompt using TELNET

NOTE: Type the commands to be entered in notepad and then copy paste it. Using Backspace/Delete/Insert/Editing in Cmd prompt creates incorrect result.

Step 1:At command prompt, type:   telnet <smtp_Server>  <port>
 Ex:   telnet  25

Step 2:Type EHLO , and then press ENTER.
Goto Step 6, if Authentication is not required:

Step 3:Type AUTH LOGIN. The server responds with an encrypted prompt for your user name.

Step4:Enter your user name encrypted in base 64. You can use one of several tools that are available to encode your user name.

Step 5:The server responds with an encrypted base 64 prompt for your password. Enter your password encrypted in base 64.

Step 6:Type MAIL FROM:, and then press ENTER. If the sender is not permitted to send mail, the SMTP server returns an error.

Step 7:Type RCPT TO:,and then press ENTER.If the recipient is not a valid recipient or the server does not accept mail for this domain, the SMTP server returns an error.

Step 8:Type DATA.

Step 9:If desired, type message text, press ENTER, type a period (.), and then press ENTER again.

If mail is working properly, you should see a response similar to the following indicating that mail is queued for delivery:

250 2.6.0

      New to ADSelfService Plus?


            • Related Articles

            • What to do when SMTP mail configuration fails?

              This article is about troubleshooting failure of SMTP mail configuration: 1.) Verify SMTP configuration from Command Prompt using TELNET. How to run Telnet test? Open command prompt with Admin permission and type:   telnet <smtp_Server> <port> ...
            • Memory Usage Calculation (Linux- Telnet/SSH)

              Total Memory Utilization Calculation: Linux Monitoring: Telnet/SSH For memory usage calculation using 'free -m'  command. Sample command output: root@root:~$  free -m                      total        used        free      shared  buff/cache   ...
            • Not able to add device in TELNET MODE.

              Problem :- I'm not able to add device using TELNET Mode. Receives Authentication Failed Error. Solution :- Check customer is able to login to the target server using putty. Get the putty login message as snapshot. Check the login prompt which is ...
            • I cannot add remote server monitor using SSH password authentication.

              Please follow our suggestions below, 1) When adding that server monitor , please specify the correct command prompt value, which is the last character in your command prompt after connecting to that server with that appropriate username Connect to ...
            • Steps to verify WMI access for Non-Admin Domain user

              This guide provides how to enable and test WMI access with a regular domain user without generic admin rights. Make sure you have followed the steps in the article Setting WMI access through Active Directory & Group Policy Object. This ensures you ...