trichview.com

trichview.support.thirdparty




Re: Using RvHtmlImporter to read emails


Return to index


Author

Message

Norma

Posted: 12/09/2003 18:48:18


Thank you. I thought it should work as you described, but couldn't

find anything useful that matches the cid. I'll look closer, probably

I checked the wrong places.


Norma



Dmitry Mikhilov wrote:


> 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" <[email protected]> wrote: news:[email protected]...

>

>>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:[email protected].

>>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