I need to send an email with an attachment in the form of a zip file (containing several files with zipped) using UUENCODE on UNIX (ksh). The letter should be sent to several users subject and mailbox. I tried with UUENCODE using the command below, but it does not work.
uuencode $zip_name $zip_name.zip | mailx -s "Mail Subject" "user@mail.com"
- where $zip_name is name of the zip file.
How should I do it?
Thanks Arun
source
share