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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

add signature after attachments in the body email 1

Status
Not open for further replies.

rigstars2

Instructor
Dec 18, 2011
64
US
(uuencode ~/LogSize.txt ~LogSize.html ; uuencode ~/Services.txt ~Services.html ; uuencode ~Denies.txt ~Denies.html ; eval echo $SIGNATURE) | mail -s "$SUBJECT" $MAILTO

Can't seem to append a signature to the body of the email. Any ideas? The attachments get sent fine but without signature. Help please. I want the signature to show up after the attachments.
 

I usually do it this way with a simple cat of the signature


(uuencode ~/LogSize.txt ~LogSize.html ; uuencode ~/Services.txt ~Services.html ; uuencode ~Denies.txt ~Denies.html ; cat $SIGNATURE) | mail -s "$SUBJECT" -r $REPLYTO $MAILTO


Laurie.
 
I had this problem since MS outlook 2010.
Seems they changed something in outlook
Solved by moving the signature to the beginning
i.e.
(echo $sig; uuencode f1 f1.txt; uuencode f2 f2.txt) | mail...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top