Send Email from Command Line
If you would like to send an email from the command line, modify the code below to fit your needs. You will need to manually type in each of the lines.
Source: http://support.microsoft.com/kb/153119
telnet smtp.mydomain.com 25
EHLO mydomain.com
MAIL FROM:me@mydomain.com
RCPT TO:you@yourdomain.com
DATA
Subject: Test Message
This is a test message
.
QUIT