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!

Hello, I use the below script to

Status
Not open for further replies.

BIS

Technical User
Jun 1, 2001
1,893
NL
Hello,

I use the below script to send a file as an attachmnet. Works fine.

But....

The subject is inserted inline, and not as a subject by itself. Could somebody explain why?


/usr/lib/sendmail -f &quot;TheMoose <me@over.here>&quot; me@over.there << END

`(
echo &quot;Subject: Attachment&quot;
echo &quot;&quot;
)`
`cat /path/to/file.txt`
`uuencode file.txt file.txt`


Many thanks in advance...
 
Never mind... figured it out.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top