Testing SMTP via Telnet

Source: http://technet.microsoft.com/en-us/library/aa995718%28v=exchg.65%29.aspx
 * 1) Open a telnet session: From a command prompt, type telnet, and then press ENTER.
 * 2) Type o 25 ,and then press ENTER.
 * 3) Type EHLO    , and then press ENTER.
 * 4) Type AUTH LOGIN . The server responds with an encrypted prompt for your user name.
 * 5) Enter your user name encrypted in base 64. You can use one of several tools that are available to encode your user name.
 * 6) http://www.base64encode.org/
 * 7) The server responds with an encrypted base 64 prompt for your password. Enter your password encrypted in base 64.
 * 8) http://www.base64encode.org/
 * 9) Type MAIL FROM: , and then press ENTER. If the sender is not permitted to send mail, the SMTP server returns an error.
 * 10) Type RCPT TO:  ,and then press ENTER.If the recipient is not a valid recipient or the server does not accept mail for this domain, the SMTP server returns an error.
 * 11) Type DATA.
 * 12) If desired, type message text, press ENTER, type a period ( . ), and then press ENTER again.
 * 13) If mail is working properly, you should see a response similar to the following indicating that mail is queued for delivery: