Wednesday, 29 July 2009

Sending email via the command line

Log on to the server you are sending the mail from, then in a command prompt enter the following
telnet <smtp server> 25
HELO <domain sending from>
MAIL FROM:<email from>
RCPT TO:<email to>
DATA
<message>
.
QUIT

This will enable you to test that the server can send email via the architecture you are using.

No comments: