This content has been marked as final.
Show 5 replies
-
1. Re: E-mail attachment: HTML IMG for attached image
pmuir Jul 3, 2007 10:04 AM (in response to hiltonp)Ok, I didn't know about this - thanks for bringing it up. Can you add a feature request to JIRA? I'll do it a bit like this:
<m:attachment ... var="attachment1" /> ... <img src="cid:#{attachment1.contentId}" />
-
2. Re: E-mail attachment: HTML IMG for attached image
hiltonp Jul 3, 2007 10:15 AM (in response to hiltonp) -
3. Re: E-mail attachment: HTML IMG for attached image
sandy_brydon Oct 30, 2007 1:43 PM (in response to hiltonp)I am having trouble with how an inline attachment is supposed to work since it doesn't seem to be creating a boundary with Content-Type: multipart/related around the attachment, it merely relies on the outer multipart/mixed boundary defined in the header of the email.
The effect is that my email client (Thunderbird) is treating the image as an attachment and is not placing it inline.... <m:attachment value="#{emailService.params.get('img_logo')}" fileName="logo.gif" status="logo" disposition="inline" /> <img src="cid:#{logo.contentId}" alt="logo" /> ...
(the attachment value references a java.net.URL - i doubt this matters, but just in case)
everything else appears to be correct:
- the header for the logo:Content-Type: image/gif; charset=ISO-8859-1; name=logo.gif Content-Transfer-Encoding: base64 Content-ID: <ckgkyystehilrvoyfavc> Content-Disposition: inline; filename=logo.gif
- the corresponding img tag:<img src="cid:ckgkyystehilrvoyfavc" alt="logo" />
is this incorrect? perhaps i have misconfigured something?
jboss-4.2.1.GA
jboss-seam-2.0.0.CR3 -
4. Re: E-mail attachment: HTML IMG for attached image
szaccaria Oct 30, 2007 6:45 PM (in response to hiltonp)Hi Sandy,
I've the same problem... I hope this is risolve with 2.0.0.GA release ;-) -
5. Re: E-mail attachment: HTML IMG for attached image
sandy_brydon Jan 24, 2008 7:36 PM (in response to hiltonp)