[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-2534) inline email attachments not showing up properly

Pete Muir (JIRA) jira-events at lists.jboss.org
Tue Mar 11 08:38:58 EDT 2008


     [ http://jira.jboss.com/jira/browse/JBSEAM-2534?page=all ]

Pete Muir updated JBSEAM-2534:
------------------------------

    Fix Version/s: 2.1.0.GA

> inline email attachments not showing up properly
> ------------------------------------------------
>
>                 Key: JBSEAM-2534
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2534
>             Project: JBoss Seam
>          Issue Type: Patch
>          Components: Mail
>    Affects Versions: 2.0.1.CR2
>         Environment: JBoss-4.2.1.GA
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05-241)
> Mozilla Thunderbird version 2.0.0.9 (20071031)
> Apple Mail Version 2.1.2 (753)
> Gmail
> Hotmail
>            Reporter: sandy brydon
>         Assigned To: Pete Muir
>            Priority: Minor
>             Fix For: 2.1.0.GA
>
>
> what is being produced:
> Header...
> Content-Type: multipart/mixed; boundary="outer-boundary"
>  
> --outer-boundary
> Content-Type: image/gif; charset=ISO-8859-1; name=logo.gif
> Content-Transfer-Encoding: base64
> Content-ID: <image-content-id>
> Content-Disposition: inline; filename=logo.gif
> BASE64=ENCODED=IMAGE=DATA==
> --outer-boundary
> Content-Type: multipart/alternative; boundary="inner-boundary"
> Content-Disposition: inline
> --inner-boundary
> Content-Type: text/plain; charset=ISO-8859-1
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
> my plain text
> --inner-boundary
> Content-Type: text/html; charset=ISO-8859-1
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
> <html>
> 	<body>
> 		my html text<br />
> 		<img src="cid:image-content-id" />
> 	</body>	
> </html>
> --inner-boundary--
> --outer-boundary--
> what i think should be there (i'm no email expert)
> Header...
> Content-Type: multipart/alternative; boundary="outer-boundary"
>  
> --outer-boundary
> Content-Type: text/plain; charset=ISO-8859-1
> Content-Transfer-Encoding: 7bit
> my plain text
> --outer-boundary
> Content-Type: multipart/related;
>  boundary="inner-boundary"
> --inner-boundary
> Content-Type: text/html; charset=ISO-8859-1
> Content-Transfer-Encoding: 7bit
> <html>
> 	<body>
> 		my html text<br />
> 		<img src="cid:image-content-id" />
> 	</body>	
> </html>
> --inner-boundary
> Content-Type: image/gif; name="logo.gif"
> Content-Transfer-Encoding: base64
> Content-ID: <image-content-id>
> Content-Disposition: inline; filename="logo.gif"
> BASE64=ENCODED=IMAGE=DATA==
> --inner-boundary--
> --outer-boundary--
> - it looks like Content-Disposition: inline; is on every content declaration, i don't know if this matters
> - in order to have proper inline html image content it looks like both the file and the content it's being included in is required to be part of Content-Type: multipart/related; (http://tools.ietf.org/html/rfc2387)
> symptoms as tested:
> Mozilla Firefox
> - displays the attached files, does not display inline
> Apple Mail
> - displays the attached files then the content of the email (images show up in both)
> gmail
> - shows as having attachments, prompts to display images - images display fine
> hotmail
> - shows as having attachments, prompts to display images - images display fine
> ... all of this is also described in the forum thread.

-- 
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

        



More information about the seam-issues mailing list