[
http://jira.jboss.com/jira/browse/JBSEAM-2187?page=comments#action_12393644 ]
Gustavo J commented on JBSEAM-2187:
-----------------------------------
Hello, I'm with a same problem and try to help resolve this, I was debugging the
source and find supposed point of failure.
In mail template:
<m:attachment value="#{theme.images}/mail_top.jpg"
contentType="image/jpeg" fileName="logo.jpg" status="logo"
disposition="inline" />
In source of the email the correct would be this:
Content-Type: image/jpeg; name="mail_top.jpg"
Content-Transfer-Encoding: base64
Content-ID: <mpajaquiiyninukpofvp>
But, however is this:
Content-Type: application/octet-stream; name=mail_top.jpg
Content-Transfer-Encoding: base64
Content-ID: <mpajaquiiyninukpofvp>
Content-Disposition: inline; filename=mail_top.jpg
In class UIAttachment on line 163~170 is not informed the content type and for that reason
all attachment has same type 'application/octet-stream' and not viewed correctly
in Thunderbird / Outlook and other mail clients.
I hope I have helped
E-mail attachment <cid:xxxxxx> problem
--------------------------------------
Key: JBSEAM-2187
URL:
http://jira.jboss.com/jira/browse/JBSEAM-2187
Project: JBoss Seam
Issue Type: Bug
Components: Mail
Affects Versions: 2.0.0.CR3
Reporter: Stefano Zaccaria
Assigned To: Pete Muir
Priority: Minor
Fix For: 2.0.x
When use the cid: tag with seam like the document read
<m:attachment
value="#{person.photo}"
contentType="image/jpeg"
fileName="#{person.firstname}_#{person.lastname}.jpg"
status="personPhoto"
disposition="inline" />
<img src="cid:#{personPhoto.contentId}" />
In my email client (Thunderbird) the image is attachment and not place inline
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira