title: Inserting Image in email signature?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/9110091/base64-encoded-images-in-email-signatures">base64 encoded images in email signatures</a>  </p>
  </blockquote>
  
  
  
  <p>I have a image stored in database.I need to to insert that image alongwith email signature wich is only text right now.I was planning to use  image tag
  that will point to servlet as shown below which will internally fetch the image from database and send it as byte stream inside response. This approach works fine
  till i send the mail to the user  in the same application  . Because my application  authenticate/entertains the request only if the
  request is coming from logged in user.So when i send the email to a person who also exist in my application and logged in can see the image(inserted
  with signature). Problem comes when user sends the mail to external domain like gmail.com, yahoo.com. So if i send the mail to gmail user, he can not
  see the image in signature as the servlet request sent by image tag will not be entertained as user does not belong to my application? I am not sure
  whats the best approach/way to insert the image in email signature?</p>
  
  <pre><code>img src="/path/toMyServlet.action"
  </code></pre>