trichview.com

trichview.support




Re: Parse RichText / HTML-Mail & embedded Images


Return to index


Author

Message

Sergey Tkachenko

Posted: 06/17/2004 21:54:59


> 1. Which is the best email-message parser component? I am using Sakemail


I do not know. I know Indy (included in new versions of Delphi) can parse

MIME-encoded message attachments (TIdMessage), but I never used it


>

> 2. I am trying the demo now for showing HTML & RichText-Emails, how is it

> possible under d6 that the trichview component show me embedded Images in

> an HTML Mail or RichText Mail.


For RTF, you need to store RTF content in TMemoryStream and load it with

RichViewEdit.LoadRTFFromStream.

For HTML, save it to string and use TRVHTMLImporter

(http://www.trichview.com/resources/)

In both cases, provide images in RichViewEdit.OnImportPicture event.





Powered by ABC Amber Outlook Express Converter