Hi All,
Can anyone please provide the command for sending an mail with attachment using mailx command.
Thanks in Advance
Regards,
Siram.
Hi All,
Can anyone please provide the command for sending an mail with attachment using mailx command.
Thanks in Advance
Regards,
Siram.
This question is asked very often here in the forums, please search the forum for "mail attachment" - you will find plenty helpful threads.
Try uuencode command
uuencode file1 file2 | mail user@companyname.co.in -s "subject"
You can use:
uuencode <source_file> <encoded filename> |mailx <mail_address>