0

Hi All

Anyway to add a note inside the email saying here is your file after attching a file in unix??

For example my script is fine attaching the excel file but i would like a message inside the mail too and not in the subject title.

/usr/bin/uuencode $adhocreport $adhocreport | /usr/bin/mailx -s "$subject" $destination

2
Contributors
3
Replies
4
Views
9 Years
Discussion Span
Last Post by DimaYasny
0

should be a parameter to add content in mailx
have you looked at the manpage?

Sorry i have looked and cant find anything which would do this. If i try echoing this stop the mail attachment etc, also i dont want the message inside the subject line.

Im trying to achieve something like this

to: joe.bloggs@hotmail.com
subject: Report of Adhoc

mailattachment.xls

Please find the report above etc blah blah.

Now everything works apart i dont know how to add comments after i have attached the excel file.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.