It looks like you're new here. If you want to get involved, click one of these buttons!
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 !
To embed an image, just include an image HTML tag in your code:
<img src="your_image.jpg" title=""/>