This sample SMTP client procedure sends mail to a user. The contents of the mail are hard-coded in this procedure, but the procedure can easily be modified so that the text to be sent is passed to it.
$NMSATC4 SENDER=USERID@COMPANY.COM RECIPIENT=USERID@COMPANY.COM SMTPSVR=SMTP_SERVER_NAME_OR_ADDR
You should read RFC821 for an understanding of the SMTP protocol. This RFC is available at the following web address: http://www.ietf.org
| Copyright © 2009 CA. All rights reserved. |
|