Hello
I need to be able to extract images from a DbRichViewEdit in order to send them as attachments in an email.
In my application, the user can create templates with images and text (signature) that are loaded in the body of the email. Before sending, I convert the RVF to HTML, but I need to find and extract the images to send them as an attachment in the same email.
I use RichView 17, Indi 10.5 and Delphi 2007
Thank you
Extract images from a DbRichViewEdit
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Extract images from a DbRichViewEdit
See the demo here: https://www.trichview.com/forums/viewtopic.php?f=3&t=11
It sends HTML email using Indy. It processes OnSaveImageImage2 event. This event occurs when saving to HTML. In this event, instead of saving images to files, it collects them in memory, in a collection.
It sends HTML email using Indy. It processes OnSaveImageImage2 event. This event occurs when saving to HTML. In this event, instead of saving images to files, it collects them in memory, in a collection.
Re: Extract images from a DbRichViewEdit
Thank you
The demo has been a great help, I have solved the problem.
regards
The demo has been a great help, I have solved the problem.
regards