SMTP Commands
From KlavoWiki
If you would like to create an email directly from an SMTP server you can use the commands as follows. The method below is mainly used for test relaying restrictions.
You need to do the commands in the order as specified. The only exception is the subject line.
helo mail from: <from address> rcpt to: <to address> data subject: <subject> <message goes here>
To end the message and send the email enter the below sequence without any spaces.
enter . enter