cancel
Showing results for 
Search instead for 
Did you mean: 

mailx attachment problem

Roger Gallant
Occasional Contributor

mailx attachment problem

I have to send out an email with an attachment where the body of the message is bilingual(french/english). I can send the message without attachment and can see the mail without any problem. When I send it with the attachment, I get french char that are not being transferred correctly.

This is what I have done:
LANG=fr_CA.iso88591
export LANG
uuencode $FilePath/$ProjectName/report/Alert/$3 $3 >> AlertRpt$2.csv
cat -v $FilePath/$ProjectName/report/Alert/$AlertEmailBodyFile AlertRpt$2.csv > email_all$2.txt
mailx -s "$AlertEmailTitle" $AlertDistList < email_all$2.txt

What am i missing?



1 REPLY
Roger Gallant
Occasional Contributor

Re: mailx attachment problem

added -m flag to mailx, fixed my problem