Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Subject field in sendmail

Status
Not open for further replies.

meerbeke

IS-IT--Management
May 20, 2002
3
BE
Hi,

Can someone tell me how i can change the subject field of the sendmail command in combination with an attachment file?

Actually we use the following command on AIX

$ uuencode tekst tekst.doc | /usr/sbin/sendmail -ftest@mydomain touser@mydomain

The subject field is blank and we want to change this, but how ????

Thanks.

Ivo Schoolmeesters
ivos@brantano.com

 
try this...

/usr/lib/sendmail -f &quot;FROM&quot; me@over.here << END
Subject: Some Subject

`cat /some/file`
`uuencode /some/file attach1`
END

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top