I use the below command to attach a file.
mailx -s "Report 05/06/07" [email protected] < /test_output/report.html
uuencode /test_output/report.html /test_output/report.html | mail -s "mailing my c file" [email protected]
but the attachment is not attached with mail. The attachment content is shown in the mail body.
How i can solve this or is there any other way to send mail automatically with the attachment?