title: How can i attach an image using Phpmailer?
body: <p>I am using phphmailer and have attached an image, it shows only the image like an icon rather than image itself here is my code 
  could you help.</p>
  
  <pre><code>$mail-&gt;AddEmbeddedImage('2.jpg', '2img', '2.jpg');
  $mail-&gt;Subject  =  "Order Form:  Contact form submitted";
  $mail-&gt;Body     =  $body . 'img src="../../photo/2img" ;
  </code></pre>
  
  <p>note: i have dropped html tag befor img as I get error sending this Q.</p>