NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: MikeR on October 14, 2019, 04:26:49 AM

Title: Sending HTML emails with embedded pictures
Post by: MikeR on October 14, 2019, 04:26:49 AM
Im using redactor as an html editor.
The user can set up emai body with pictures and html formatting.
I safe the html in a table.
If I come back to the record the data shows pictures and all.
However if I send the email out
I dont receive the picture in the body
If I look at the source
it shows as a cid:  ???
something like this
<figure>
<html>
<body>
<img src="cid:lexcorp3.gif"></figure>
but the picture doesn't display
Title: Re: Sending HTML emails with embedded pictures
Post by: peterH on October 14, 2019, 05:09:52 AM
IIRC you need to call EmbedImages(). There was a change at some point so it does get called automatically (under certain circumstances?) but I don't recall the details. But look in the generated code and make sure that function is being called - one way or another.

Peter
Title: Re: Sending HTML emails with embedded pictures
Post by: Bruce on October 14, 2019, 10:43:26 PM
What NetTalk build are you using Mike?

cheers
Bruce
Title: Re: Sending HTML emails with embedded pictures
Post by: MikeR on October 21, 2019, 01:18:29 AM
11.19 Bruce