I m new to Linux ,need help to send mail with attachment via mail command Rhel 5.3
I m new to Linux ,need help to send a mail with attachment via mail command linux,Version is RHEL 4 & 5.3.
|
Are there any mail services running on your system? It should be running in order to send an email. Meanwhile, if it's running then you can send attachment as follow:
Code:
uuencode /path/to/file/ /path/to/file/ | mailx -s "<subject>" <recipient_mail_id> Code:
uuencode /home/jack/sample.txt /home/jack/sample.txt | mailx -s "Sample Test" peter@somehost.com |
All times are GMT -5. The time now is 11:20 PM. |