To send a test email via Telnet, please do the following:
- Open Command Prompt
telnet IP_address_of_mail_server 25The server should respond with 220 (then identifies itself - possibly with several lines of 220 + text)
HELOThe server should respond with 250 (followed by human readable message)
- Type in who you want the test e-mail to come from:
mail from: email@example.comThe server should respond with 250 is syntactically correct (or similar)
- Type in who you want the test e-mail to go to:
rcpt to: firstname.lastname@example.orgThe server should respond with 250 is syntactically correct (or similar)
dataThe 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.