Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Showing results for 
Search instead for 
Did you mean: 

problems trying to convert an attached .csv type file

Go to solution

problems trying to convert an attached .csv type file

We are tying to forward an email from a Microsoft Exchange server with an attached file (csv format) to a user within unix so that we can get the attachment data. The file is received with the attachment in MIME format. When we try to run metamail to convert the file, it will not convert the MIME portion. File attachment name is rates.csv. When we review the temp file created from metamail, we see characters replacing some of the file text and the MIME portion does not convert. The below shows substituted characters "M-^?" where other characters resided.

> > <>

Content-Type: application/octet-stream;
Content-Transfer-Encoding: base64
Content-Description: rates.csv
Content-Disposition: attachment;
Geoff Wild
Honored Contributor

Re: problems trying to convert an attached .csv type file

What about trying mpack:

"munpack - unpack messages in MIME or split-uuencode format"

Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.