Archived Forum Post

Index of archived forum posts

Question:

Saved attachments in eml file

Sep 14 '12 at 17:01

I am reading email messages from older versions of Eudora. I have sucessfully parsed the mbx files into individual messages and using the CkEmail class to retrieve all the relavant information; to, from, etc. However; these versions of Eudora save the attachemnts to a folder and none of the Attachment functions of the CkEmail class sees these attachments. The eml contains:

Content-Type: application/octet-stream; name="Robotics.pdf"; Content-Disposition: attachment; filename="Robotics.pdf"

Attachment Converted: "c:usersrockappdataroamingqualcommeudoraattachRobotics.pdf"

The above text appears after the actual message and is not retrieved with the GetPlainTextBody() or GetHtmlBody() CkEmail functions. I've tried traversing the header fields as well as the mime content types (CkMime) with no luck.

Is there something I've missed? Perhapes a different class?


Answer

To understand the problem, I would need to see the MIME of the email. When you have the email in a CkEmail object, save it to a file by calling email.SaveEml. Then open the file using a text editor and copy-and-paste the MIME (if it's not too large) to this forum, or send it to me in an email (support@chilkatsoft.com).


Answer

I'll email it to you. It's not too large, but the wrapping and some other chars get lost in the post.