How can I parse raw email source and extract the HTML part?

Posted by Matthew Brindley on Stack Overflow See other posts from Stack Overflow or by Matthew Brindley
Published on 2010-04-06T19:16:18Z Indexed on 2010/04/07 11:23 UTC
Read the original article Hit count: 363

Filed under:
|
|
|

In my iPhone app, I'm handed the raw source of an email, in RFC822 (or "eml") format. I'd like the HTML part of this message (if one exists).

Rather than attempting to parse it out myself and converting escape chars and so on, I thought I'd check to see if anyone knows of an objective-c library to do this for me.

In .NET, I've always used the Mailbee classes for anything email related, but I can't seem to find anything similar for cocoa.

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about cocoa-touch