login about faq

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

asked Feb 19 '17 at 04:12

bwill's gravatar image

bwill
3511


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

link

answered Feb 20 '17 at 10:18

chilkat's gravatar image

chilkat ♦♦
12.8k318382528

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

link

answered Feb 20 '17 at 11:56

chilkat's gravatar image

chilkat ♦♦
12.8k318382528

Thanks!

Mit freundlichen Grüßen/Regards

Beatrix Willius

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

link

answered Feb 20 '17 at 13:03

bwill's gravatar image

bwill
3511

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×23

Asked: Feb 19 '17 at 04:12

Seen: 633 times

Last updated: Feb 20 '17 at 13:03

powered by OSQA