I use the below command to attach a file.
mailx -s "Report 05/06/07" add@dom.com < /test_output/report.html
uuencode /test_output/report.html /test_output/report.html | mail -s "mailing my c file" add@dom.com
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?