email attachment in UNIX
Okay, you want to send an email with an attachment.
Here is how:
uuencode filename attachment_name mailx -s "Report" -r from_email_id to_email_id
example:
uuencode myfile.csv myfile.csv mailx -s "Here is your report" -r chagan@yahoo.com toyou@hotmail.com
Here is how:
uuencode filename attachment_name mailx -s "Report" -r from_email_id to_email_id
example:
uuencode myfile.csv myfile.csv mailx -s "Here is your report" -r chagan@yahoo.com toyou@hotmail.com
No comments:
Post a Comment