[MAGNOLIA-1649] Magnolia multipart emails are not displayed correctly with some client (gmail) Created: 30/Jul/07  Updated: 30/Jul/07  Resolved: 30/Jul/07

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: 3.1 M1
Fix Version/s: 3.1 M2

Type: Bug Priority: Major
Reporter: Fabrizio Giustina Assignee: Fabrizio Giustina
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

When a multipart email is generated using MgnlMultipartEmail inline resources are not displayed properly on some client (for example images don't show up in gmail).
This is due to an invalid header set in messageBodyPart, in the following line:

// Add a header to connect to the HTML
messageBodyPart.setHeader(CONTENT_ID, key);

according to specifications, such key must be surrounded by "<>". After adding this mails work fine in any tested client!



 Comments   
Comment by Fabrizio Giustina [ 30/Jul/07 ]

fixed in svn for 3.1 M2.
kudos for the debugging and fix go to manuel (@openmind)

Generated at Mon Feb 12 03:28:58 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.