The following header informations I have added to send a html content as a mail message.
$headers = \'MIME-Version: 1.0\' . \"\\r\\n\";
$he
You need to include the image as an attachment if you want it inline.
What you do is in your HTML, instead of putting <img src="filename.jpg" />
, you put the Content-ID of the image, i.e, <img src="cid:$cid" />
This article has a better breakdown with a working example:
http://www.phpeveryday.com/articles/PHP-Email-Using-Embedded-Images-in-HTML-Email-P113.html