unixwhoopie
Programmer
I am trying to send out an email that has a zipped attachment. But the attachment is going in the body of the mail instead of a seperate attachment.
I am using gzip to zip the file.
(cat myrep.txt; uuencode $attach myrep1.tar.gz) | mailx -s "${sub}" "${email}"
The email is going to the correct recipient...problem is only with the attachment. Not sure what I am doing wrong. Any ideas are appreciated.
Thanks
I am using gzip to zip the file.
(cat myrep.txt; uuencode $attach myrep1.tar.gz) | mailx -s "${sub}" "${email}"
The email is going to the correct recipient...problem is only with the attachment. Not sure what I am doing wrong. Any ideas are appreciated.
Thanks