title: How to add an image in email body
body: <p>I want to add an image in email body.
  I don't want to attach an image to the email, but add an image in the email body.</p>
  
  <p>How to do this?</p>
  
  <p>I'm using this.</p>
  
  <pre><code>"&lt;img src=\"data:image/png;base64,"+convertFileTOByteEncrypt()+"\"&gt;"
  </code></pre>
  
  <p>or</p>
  
  <pre><code>  "&lt;img src=\"http://images.anandtech.com/doci/3982/HTCSurround-0134.jpg\"&gt;"
  </code></pre>
  
  <p>Then image is displayed like this.</p>
  
  <p><img src="https://i.stack.imgur.com/CMNee.png" alt="image"></p>