How to send attachments using mailx command
by Indranil.Nag from LinuxQuestions.org on (#4YXTG)
Hello Members,
I am new to linux and i am using RHEL (Linux 2.6.18-371.el5). I have a query: How to send attachments using mailx command?
i have tried:
i. mailx -s "subject" -a "attachment" "recipient" command.
ii. echo|mailx -s ""subject" -a "attachment" "recipient"
iii. uuencode filename | mailx -s "subject" "recipient"
none of these worked for me.
I have gone through different threads in this forum but could not find anything that fits my query.
Could you guys please help me out or maybe point me towards right discussion.
Thanks!
Regards,
Neel


I am new to linux and i am using RHEL (Linux 2.6.18-371.el5). I have a query: How to send attachments using mailx command?
i have tried:
i. mailx -s "subject" -a "attachment" "recipient" command.
ii. echo|mailx -s ""subject" -a "attachment" "recipient"
iii. uuencode filename | mailx -s "subject" "recipient"
none of these worked for me.
I have gone through different threads in this forum but could not find anything that fits my query.
Could you guys please help me out or maybe point me towards right discussion.
Thanks!
Regards,
Neel