Get answers quicker by searching

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

  • Ben January 2013
Is AddEmbeddedImage working under Sendy
  • Vote Up0Vote Down medianamediana
    Posts: 9Sendy user

    Hello, I try to edit includes/create/test-send.php so it send an inline embedded image using this code :

            $html_text2 = str_replace('[footer]', '<p><img src=\"cid:footerimg\" /></p>', $html_text2);
            $mail->AddEmbeddedImage('footer.jpg', 'footerimg', 'footer.jpg');

    Though it fails : I get no emails in my inbox.

    When I comment the $mail->AddEmbeddedImage() call, I receive the email. Of course, in that case, I don't get the embedded image.

    What am I missing here ? Is this compatible with Sendy (problem of encoding?)

    I hope you will have some clues !

  • 1 Comment
  • Vote Up0Vote Down BenBen
    Posts: 3,549Sendy support

    Hi @mediana,

    To embed an image, just include an image HTML tag in your code:

    <img src="your_image.jpg" title=""/>



This discussion has been closed.
All Discussions