Archived Forum Post

Index of archived forum posts

Question:

Message Attachment formatting

Nov 28 '12 at 10:35

I'm using CkEmail with the C++ Chilkat library.

Is there any sample code that can cleanly format message attachment headers (content type message/rfc822) in HTML format, for appending to main email body?

I need to first add a divider, like so:

----- Message from "John" <john@doe.com> on 8/9/1023 12:59:59 GMT ----

After that, I need to cleanly print the "To" recipients, and the subject:

To: Foo, Bar, Candy
Subject: Fw: Some Email Subject

I could do all of this myself but it's a lot of logic. I wanted to see if there is something I could use first...

Thanks.


Answer

I don't have any sample code. It may be tedious, but it's very simple code to write...