NetTalk Central

Author Topic: Sending HTML emails with embedded pictures  (Read 4949 times)

MikeR

  • Sr. Member
  • ****
  • Posts: 265
    • View Profile
    • Email
Sending HTML emails with embedded pictures
« 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

peterH

  • Sr. Member
  • ****
  • Posts: 413
    • View Profile
Re: Sending HTML emails with embedded pictures
« Reply #1 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

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Sending HTML emails with embedded pictures
« Reply #2 on: October 14, 2019, 10:43:26 PM »
What NetTalk build are you using Mike?

cheers
Bruce

MikeR

  • Sr. Member
  • ****
  • Posts: 265
    • View Profile
    • Email
Re: Sending HTML emails with embedded pictures
« Reply #3 on: October 21, 2019, 01:18:29 AM »
11.19 Bruce