To send a test email via Telnet, please do the following:
- Open Command Prompt
- Type:
telnet IP_address_of_mail_server 25
The server should respond with 220 (then identifies itself - possibly with several lines of 220 + text)
- Type:
HELO
The server should respond with 250 (followed by human readable message)
- Type in who you want the test e-mail to come from:
mail from: you@yourdomain.com
The server should respond with 250 is syntactically correct (or similar)
- Type in who you want the test e-mail to go to:
rcpt to: them@theirdomain.com
The server should respond with 250 is syntactically correct (or similar)
- Type:
data
The server should tell you to send data then CRLF period CRLF at end
- Type your test message and then CRLF period CRLF (i.e. type a period on a line by itself then hit ENTER).
The server should respond with a 250 message submitted to queue
The e-mail will then be submitted to the mail servers queue for delivery and the recipient specified in step 5 should receive it.