login about faq

If I get an attachment with message/rfc822 content type, is there a convenient function in Chilkat to get the HTML formatted text to append to the body? The message may contain multiparts that have more messages, so it needs to be recursive.

asked Nov 26 '12 at 18:38

chilkat's gravatar image

chilkat ♦♦

In the Chilkat Email API, a MIME sub-part that is message/rfc822 is not considered an attachment, it's considered an "attached message". The emailObject.NumAttachedMessages property will indicate the number of immediate attached messages. The emailObject.GetAttachedMessage(index) will return the Nth attached message as an email object, from which you can get its plain-text/HTML bodies, attachments, and attached messages. You can see how this would be recursive...


answered Nov 26 '12 at 18:41

chilkat's gravatar image

chilkat ♦♦

Your answer
toggle preview

Follow this question

By Email:

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



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



Asked: Nov 26 '12 at 18:38

Seen: 2,879 times

Last updated: Nov 26 '12 at 18:41

powered by OSQA