MPE/iX 7.5 sendmail support training
MPE/iX 7.5 Sendmail Support Training Page 42March 1, 2002
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