title: Insert Image Directly into an HTML Template Using Javamail
body: <p>Hey all,  I've seen a lot of topics on this, but not quite what I am looking for.  </p>
  
  <p>Essentially when I get to sending my Javamail message I'll have my image as a byte[] object and I'll have a string that contains the html template.  What I am looking to do is not store it on the server (didn't want to try to deal with the upkeep on keeping the image stored on the server, and we'll have limited space to work with).  I'd like to take the byte[] object that I already have and directly store it within the html template, making sure it's in the correct image tag.  Is there a way I could do this? Basically I want to stick a message.setContent("blah","image/jpg"); directly into the html template at a specific spot.</p>
  
  <p>Hopefully I'm making sense here...</p>
  
  <p>Another Idea I was thinking was add the image as an attachment and just reference the attachment when displaying the html template....if that is possible.</p>