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 ♦♦
11.8k316358421


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

link

answered Nov 26 '12 at 18:41

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

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:

×18
×3
×3

Asked: Nov 26 '12 at 18:38

Seen: 3,013 times

Last updated: Nov 26 '12 at 18:41

powered by OSQA