Hi,
In our app, people can send emails (we use html export for the email's body) and we allow them to create signatures with company logo, etc. However, the images get mixed up or lost. Different mail programs don't receive the same thing, it's a big mess.
We think a solution would be if we could insert an image from an URL, so, when the email is sent and the content converted, the image is actually an html tag, <img src="http://mysite/mylogo.jpg" otherattributes="...">
Is it possible? We are using TRichView, without the RichViewActions; also the HtmlViewer/Importer.
Thanks
inserting image from URL
-
- Site Admin
- Posts: 17565
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Embedding images in email itself is more reliable (if it is done correctly).
Images from external sources can be blocked by email viewers (for example, I use Windows Live Mail; I need to click a button to show external images, or add a sender to a list of trusted senders).
How to save a link to external image in <img src>:
1) For image item, assign its rvespImageFileName property see http://www.trichview.com/help/idh_type_ ... perty.html .
2) When saving HTML, include rvsoUseItemImageFileNames in the Options of HTML saving method.
Or you can save any <img src> using OnHTMLSaveImage or OnSaveImage2 event.
Images from external sources can be blocked by email viewers (for example, I use Windows Live Mail; I need to click a button to show external images, or add a sender to a list of trusted senders).
How to save a link to external image in <img src>:
1) For image item, assign its rvespImageFileName property see http://www.trichview.com/help/idh_type_ ... perty.html .
2) When saving HTML, include rvsoUseItemImageFileNames in the Options of HTML saving method.
Or you can save any <img src> using OnHTMLSaveImage or OnSaveImage2 event.