title: Sending Inline images in email with JavaMailSenderImpl
body: <p>Hi for sending email I'm using <code>JavaMailSenderImpl</code> and creating a <code>message</code> With the Help of <code>MimeMessageHelper.</code></p>
  
  <p>Now I can send Inline images in email which are present on my localmachine.</p>
  
  <pre><code>c:\temp\img.jpg
  
  
  
  FileSystemResource res = new FileSystemResource(new File("c:/Temp/img.jpg"));
  helper.addInline("identifier1234",res);
  </code></pre>
  
  <p>and I'm using it in the <code>&lt;img src&gt;</code> as</p>
  
  <pre><code> src ='cid:identifier1234' 
  </code></pre>
  
  <p>But now I want to send Images that are not present on my local machine, Images are hosted on server. and images are only accessible through some URL(Actually the Images are stored on LifeRay DB) so is there a way to do that ? please help  and thanks in advance. </p>