Using Sendmail on MPE - April 2003
Using Sendmail on MPE - Solution Symposium West Page 43April 24, 2003
sending e-mail with
SENDMAIL
1. /bin/cat - >message.txt
To: someuser@some.host
Cc: otheruser@other.host
Bcc: secretuser@another.host
Subject: hello world
Hi there!
:EOD
2. /SENDMAIL/CURRENT/SENDMAIL -t
<message.txt
• the –t option reads the
destination addresses from the
message headers
• destination addresses can
alternatively be specified on the
SENDMAIL command line
• if you want attachments you
must generate the MIME headers
yourself