1) Attach the image with the mail using MIME content type "multipart/related".
2) Set "Content-Id" header (eg Content-Id="image1")
3) In the HTML body of the email, include the image by
Reference: http://java.sun.com/developer/EJTechTips/2004/tt0625.html#1
http://www.ietf.org/rfc/rfc2387.txt
No comments:
Post a Comment