Hello all
I am on RHEL 6.4. I have been using my bash script which mails one .csv file after zipping (myfile.csv.zip)to my Lotus Notes ID. I use
uuencode
with
mailx
to do this. Here is my command -
uuencode myfile.csv.zip myfile.csv.zip | mailx -s "Subject" mailid
. This all works very cool. Now my company is migrated to Outlook2013 from Lotus Notes. Now when the same mail is coming to outlook i do not get any attachment but in body of mail i get all encoded words beginning with
begin 640 path of the .csv file
and all junk chars. Why this is so?
After that I tried mailx with option -a to add attachment(myfile.csv.zip) and this seems coming as attachment in my outlook but when I open zip file it shows me the file with complete dir path which I do not want my users to see.
Could some one please help m if I am still use
uuencode
if not can i use get rid of absolute path coming along with the file in mail.
Thanks
Krsnadasa