Archived Forum Post

Index of archived forum posts

Question:

How do I parse multipart/digest mails?

Feb 20 '17 at 13:03

I'm trying to parse an old mail that is multipart/digest. When using the example "ExaminEml" I correctly get

multipart/mixed text/plain text/plain multipart/digest message/rfc822 message/rfc822 and so on. text/plain

as result.

But how do I access the parts with multipart/digest and message/rfc822? Both GetPlainTextBody and GetHtmlBody only have the text/plain part. NumAttachedMessages is 0. I've uploaded the email to http://www.mothsoftware.com/downloads/digest.eml .

Xojo 2016r4.1, MacOS 10.11.6, latest Chilkat plugin.

Mit freundlichen Grüßen/Regards

Beatrix Willius

http://www.mothsoftware.com Mail Archiver X: The email archiving solution for professionals


Answer

Thanks Beatrix, I'm having a look and working on an example..


Answer

It's possible to do using the Chilkat MIME API, but I thought it would be better to add functionality to the next version to make it very easy within the Email object API. Here's the example:

http://www.example-code.com/xojo/parse_multipart_digest_email.asp

Unfortunately, I cannot get a new build out immediately due to other ongoing (unrelated) work..


Answer

Thanks!

Mit freundlichen Grüßen/Regards

Beatrix Willius

http://www.mothsoftware.com Mail Archiver X: The email archiving solution for professionals