trichview.com

trichview.support.thirdparty




Re: Using RvHtmlImporter to read emails


Return to index


Author

Message

Dmitry Mikhilov

Posted: 12/08/2003 19:54:11


When html text references picture files which are sent in the same message,

they are identified by cid's. For each picture, unique cid is stored in

ContentId header of email attachment representing the picture file. So,

retrieve the message normally, writing the attached files to disk and

setting mutual relationship between cid's  and filenames. After that you

have to replace cids in html by actual filenames and feed html to

HtmlImporter.


Dmitry


"Norma" <Norma@wantnospam.com> wrote: news:3fca6366$1@support.torry.net...

> I'm trying to use RvHtmlImporter to read emails directly from the

> server. For text this works fine, but I have problems to get the

> image parts working.

>

> In procedure TForm1.HtmlImporterImageRequired2  I get the parameters

> src as string and Graphic, which is nil at the beginning.

>

> If I load a normal HTML file then src is mostly a relative path that

> can be evaluated, and the graphic can be created from there

> (no problem here).

>

> When the loaded text is part of an email the string for src is e.g.

> cid:part1.02090208.03070506@xyz.com.

> How would I get an image from that?

>

> I'm using Indy components to retrieve the email information.

>

> Best regards

> Norma

>





Powered by ABC Amber Outlook Express Converter