want to send .csv file as an attachment using mailx command.

want to send .csv file as an attachment using mailx command.

Please help!!!

you can have something like this..

 (/usr/bin/cat mail_body.txt;/usr/bin/uuencode csv_file.csv attachment_name.csv) | /usr/bin/mailx -s "mail_header_subject" "mail_ID's seperated by space"