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.
General
cancel
Showing results for 
Search instead for 
Did you mean: 

problems trying to convert an attached .csv type file

SOLVED
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.

> > <>

------_M-^?extPart_001_01C4AAF8.9A743A0A
Content-Type: application/octet-stream;
nameM-^?ates.csv"
Content-Transfer-Encoding: base64
Content-Description: rates.csv
Content-Disposition: attachment;
filenameM-^?ates.csv"
1 REPLY
Geoff Wild
Honored Contributor
Solution

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

What about trying mpack:

http://hpux.ee.ualberta.ca/hppd/hpux/Users/mpack-1.5/

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

Rgds...Geoff
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.