SMTP Quick Test
SMTP Quick Mail Test
Type HELO then hit Return. SMTP server should reply with something like: 250 OK.
Type MAIL FROM: <your_email_addr> then hit Return. Replace your_email_addr with your real email address.
SMTP server should reply with something like: 250 OK - mail from <your_email_addr>.
Type RCPT To: <your_email_addr> then hit Return. SMTP server should reply with something like: 250 OK - Recipient <your_email_addr>
Type DATA then hit Return. SMTP server should reply with something like: 354 Send data. End with CRLF.CRLF
Type test then hit Return. Type . then hit Return, i.e. type a period symbol then hit Return. SMTP server should reply with something like: 250 OK
Type QUIT then hit Return. SMTP should say something like 221 closing connection.
Exit telnet
Quick TLS check on a mail system to see if it will accept TLS (Transport Layer Security) communication.
1. Telnet mail.asupport.com 25
2. HELO or ehlo
3. STARTTLS or starttls
Script to check e-mail outbound to echo service of an ISP.
rem @ECHO OFF
rem change dir
C:
cd \mailout
rem create temp msg file with computer name
echo Sending Mail from %computername% for SMTP Outbound Check > mail.txt
rem add the date to mail.txt
date /t >> mail.txt
time /t >> mail.txt
rem send the mssmsg
mapisend -u myuserid -p mypassword -r echo@uk.psi.com -s "SMTP Outbound e-mail check" -t C:\mailout\mail.txt -f C:\mailout\mail.txt
SMTP Mail testing
Destination SMTP server:
1. telnet mail.contoso.com 25
2. ehlo
3. MAIL FROM:steve@contoso.com
4. RCPT TO:john@contoso.com
5. DATA
6. Subject: Test from Steve 18:34
7. Enter
8. This is a test message
9. . Full stop