views:

147

answers:

1

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.

+1  A: 

You may have a look at the Pantomime framework for Mac OS X. It provides a full fledged email package, including RFC822 parsing. It can be downloaded directly from here.

As far as I know it has not been ported to iPhone, but it should give you a good starting point.

Claus

Claus Broch