Saving RVF to a stream with PNG Images

General TRichView support forum. Please post your questions here
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

I added OnSaveImage2 event in your demo, and now it can send emails with embedded images. I sent it to you by email.
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

A resume of the further discussion: Indy version shipped with Delphi 2009 has serious problems in HTML email encoding, while Delphi XE2's version is OK.
We did not test Delphi 2010 and XE.
Alvaro
Posts: 17
Joined: Wed Apr 14, 2010 4:01 am

Post by Alvaro »

David, I had a similar problem and eliminated the line rv.format ...
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

This is a different problem.
We tested in Delphi 2009, and it appears that Indy sends some completely wrong data instead of picture data in emails.
The same code in Delphi XE2 works perfectly.
Post Reply