[jboss-user] [JBoss Seam] - E-mail attachment: HTML IMG for attached image

hiltonp do-not-reply at jboss.com
Tue Jul 3 09:47:52 EDT 2007


Am I right in thinking that I can't attach an image to an e-mail with m:attachment and then use the image in an HTML img element in the e-mail?In RFC 2557, sections 8.3 and 9.5 show that if the e-mail image attachment has a header like:Content-ID: <foo4 at foo1@bar.net>then you can use the image in the HTML body with:img src="cid:foo4 at foo1@bar.net"I guess this would need a new contentId attribute on m:attachment and some way to refer to it in the HTML. The catch is that it needs to be globally unique, not just unique within a single e-mail.Meanwhile, I'll just use an image on the web, instead of attaching it.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059972#4059972

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059972



More information about the jboss-user mailing list