title: Some questions related to implementation of image inside email signature?
body: <p>i need to implement the email signature with image.As of now we only support the text in email signature which is already working.i need to provide the functionality 
  where i can insert  the  image inside mail signature. i can send the email to user within myapplication and also to user on external mail domain like gmail,yahoo etc. When
  mail is sent to some user with in my application system, system makes  entryt o DB and when receiver receives in inbox (which internally read the mail from db). Now if user 
  send the mail to external user on gmail it makes use of javax mail api . Similary i can receive the email from external mail domains(gmail,yahoo etc) Now i have 
  few questions based on tis requirement:-</p>
  
  <p><strong>1)Is there any standard for how the external mail domains like gmail send the image inside signature to another domains like (my application mail domain)?
  Another point related to it gmail user can have two images ,one for signature and another image inside body. How will i determine which image belongs to
  signature? Is there any defined property for that?</strong></p>
  
  <p><strong>2)Also not able to make out what is the best/consistent approach to send(whether to internal application user or external mail domain user ) the email signature containing 
  image  so that it renders correctly when user receives it?</strong></p>
  
  <p>what I had in my mind for point 2:- i earlier thought i can use solution suggested at <a href="https://stackoverflow.com/questions/5243726/how-to-display-an-image-in-jsp">How to display an image in jsp?</a>.  where
  with tag <strong>&lt;.img src="/getImage.action?imageId=123"></strong>, i can  fetch the image from db in action class or servlet and return. But keeping in mind
   once i send the mail to the user on gmail , he will not be able to access the servlet.So this approach does not seems to fit in requirement. 
  <strong>Then i came across the another great stackoverflow link</strong> <a href="https://stackoverflow.com/questions/9110091/base64-encoded-images-in-email-signatures">base64 encoded images in email signatures</a> where
  solution by Tim Medora looked great but again the comment <strong><em>below the solution Gmail doesn't seem to support it</em></strong> again ended my Folks
  really i think i should be done if mail domain like  gmail,yahoo support the solution suggested by because in that case i can send image as base64 string instead
  of image as attachment.</p>
  
  <p>Folks would be really grateful if you can provide me some pointer/approach regarding both points 1 and 2</p>