Getting Started with Sendmail on MPE/iX 7.5

Solution Symposium Page 26April 4, 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