title: how to send image in email with PHPMailer
body: <p>i'm new in PHP and i want to send image which is upload by user from his/her computer in mail i'm using PHPMailer. 
  Please give way with example with different file.</p>
  
  <p><strong>file1.php</strong></p>
  
  <pre><code>  &lt; input type="file" id="lcimage" name="image" /&gt;
  </code></pre>
  
  <p><strong>file2.php</strong></p>
  
  <pre><code> $LC = $_POST['image'];
      $mail-&gt;AddEmbeddedImage($LC, 'lcimage', $LC);
      &lt;img src="" /&gt;
  </code></pre>