IMail - Send an SMTP message by telnet

Product: Version: Platform:
IMail All NT,Win2000,XP

Question/Problem: How can I send a test message from my server in a telnet session?

Answer/Solution: Type in the IP of your SMTP server and put 25 in the Port
box.

telnet demo.your-imail.com 25

220 demo.your-imail.com (IMail 7.12 70-1) NT-ESMTP Server X1
IMail answers

HELO
250 hello demo.your-imail.com
Who is sending the message
MAIL FROM dusty@your-imail.com
250 ok
Who the message is for
RCPT TO dusty@demo.your-imail.com
250 ok its for <dusty@demo.your-imail.com>
Tell the server you are going to send something
DATA
354 ok, send it; end with <CRLF>.<CRLF>
Sending data
Subject: Test
Send a blank line to separate the headers from the message body

This is just a test message. No SPAM!
Enter period on line by itself to end the message
.
250 Message queued
Tell the server you are leaving
QUIT
221 Goodbye

The lines that start in capital letters are the SMTP commands you need to send to the server. Hit return to get the numerical responses from IMail. Make sure you end the body of your message with "carriage return, period(.), carriage return" as IMail tells you in the telnet session.

Document #: Revision Date:
IM-19991021-DM01 07/27/06
tools: | Furl this page

Return To KnowledgeBase Search Page