Save HTML

General TRichView support forum. Please post your questions here
Post Reply
Michel Guite
Posts: 2
Joined: Thu Jul 15, 2010 12:07 pm

Save HTML

Post by Michel Guite »

Hi,

I need to send an e-mail in HTML format. Currently, I use SaveHTML and then I load it in a stream.

I would rather like to save my content as HTML directly to a stream. Is there currently a way to do this?

Thank you,

Michel
Michel Guite
Posts: 2
Joined: Thu Jul 15, 2010 12:07 pm

Post by Michel Guite »

I would like to add that my image can't be save on the harddrive but in a variable or something like that.

I understand that SaveHTMLToStream would do the trick but it save image on hardrive if I'm not mistaken...am I?
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

This is an example for saving HTML emails using Indy components: http://www.trichview.com/forums/viewtopic.php?t=11
Not only HTML is saved in a stream, but pictures are saved in memory as well (using OnSaveImage2 event)
Post Reply