Thank you Erel. I have been extracting HTML from XHTML, as well as other multipart types. I've noticed that there is quite a bit of malformed HTML out there, as well as HTML that is encoded quoted-printable. I've been using a rather cumbersome means of identifying, extracting and, where necessary, decoding HTML. It occurred to me that there must be simpler way of parsing XHTML. That's the reason for my question. Now that I know there isn't, I will continue with my Rube Goldberg additions to the MailParser.