How to send an email using Telnet
Sending a test email using Telnet can be useful when diagnosing email delivery issues.
- Open a Command Prompt window
- Type telnet exserver 25, and then press Enter
- Type HELO, and then press Enter.
- Type MAIL FROM: This email address is being protected from spambots. You need JavaScript enabled to view it. , and then press Enter.
- Type RCPT TO: This email address is being protected from spambots. You need JavaScript enabled to view it.
- Type DATA, and then press Enter.
- Type Subject: Test email, and then press Enter.
- Press Enter again. A blank line is needed between the Subject: field and the message body.
- Type Testing, and then press Enter.
- Type a period ( . ), and then press Enter.
- To disconnect from the SMTP server, type QUIT, and then press Enter.
- To close the Telnet session, type quit, and then press Enter.
Here's what a successfull session using the steps above looks like:
C:\>telnet exserver 25
220 EXSERVER.exchange2016demo.com Microsoft ESMTP MAIL Service ready at Thu, 22
Oct 2015 11:39:23 +1000
helo
250 EXSERVER.exchange2016demo.com Hello [192.168.0.30]
mail from:
This email address is being protected from spambots. You need JavaScript enabled to view it.
250 2.1.0 Sender OK
rcpt to:
This email address is being protected from spambots. You need JavaScript enabled to view it.
250 2.1.5 Recipient OK
Data
354 Start mail input; end with .
Subject: Test email
Testing
.
250 2.6.0 <
This email address is being protected from spambots. You need JavaScript enabled to view it.
&;gt; [InternalId=854698491929, Hostname=EXSERVER.exchange2016demo.com] Queued mail for delivery
Other useful rescources are:
- Open Outlook, hold down the Ctrl key, right-click on the small Outlook icon near the time on Taskbar and select Test Email AutoConfiguration. Tests are self explanitory.
- Microsoft Remote Connectivity Analyzer
- How to install Telnet client
- Use Telnet to test SMTP communication on Exchange servers
Please contact Computer Doctor if you have any questions or need assistance.
Computer Doctor
Suite 1, Ground Floor Surfers Plaza Resort,
70 Remembrance Drive,
Surfers Paradise. Qld 4217
Ph: 07 55924733
Fax: 07 55924761
Email:
This email address is being protected from spambots. You need JavaScript enabled to view it.
Web: www.computerdoctor.com.au