How to send an image in the body of an email with PHP?
<p>I am trying to send an email with a screenshot as the body of an email. Normal text mail is being sent without any problem. <code>screenshot.png</code> is the image which I want to send.</p>

<pre><code>&lt;?php
  $to=$cust_email; 
  $cartTotal=$_SESSION["cartTotal"];
  $message = '&lt;img src="screenshot.png"&gt;';
  mail($to,'Bill',$message,'FROM:xyz@gmail.com');
?&gt;
</code></pre>

<p>I've also tried:</p>

<pre><code>&lt;?php
  $to=$cust_email; 
  $cartTotal=$_SESSION["cartTotal"];
  $message = '&lt;img src="screenshot.png"&gt;';
  mail($to,'Bill','echo \'&lt;img src="screenshot.png"/&gt;\';','FROM:xyz@gmail.com');
?&gt;
</code></pre>
