Wednesday, June 13, 2001

Email Attachment in UNIX

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

No comments: