Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 346619 - Generation of javax.mail.MIMEMessage from Microsoft Word Document: MimeMessage is not assembled properly.
Summary: Generation of javax.mail.MIMEMessage from Microsoft Word Document: MimeMessag...
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Scout (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-20 05:54 EDT by Otmar Caduff CLA
Modified: 2021-08-19 11:03 EDT (History)
2 users (show)

See Also:


Attachments
Proposed patch. (5.47 KB, application/octet-stream)
2011-05-20 05:56 EDT, Otmar Caduff CLA
zimmermann: iplog+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Otmar Caduff CLA 2011-05-20 05:54:27 EDT
Build Identifier: org.eclipse.scout.commons_3.7.0.201104261606

When attachments are supplied to the method, they are not added correctly to the MimeMessage. When both HTML and plain text are provided for the message, a mime part with content type "multipart/alternative" is added. However, when attachments are provided as well, those attachments are added as parts to that "multipart/alternative" part instead of to a "multipart/mixed" part. See tha attached solution proposal for details.

Reproducible: Always
Comment 1 Otmar Caduff CLA 2011-05-20 05:56:56 EDT
Created attachment 196195 [details]
Proposed patch.
Comment 2 Otmar Caduff CLA 2011-05-20 05:58:00 EDT
Proposed patch also contains fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=346190
Comment 3 Hannes Mueller CLA 2011-05-24 09:30:51 EDT
fixed on trunk of scout 3.7
Comment 4 Otmar Caduff CLA 2011-05-24 09:35:19 EDT
OK
Comment 5 Matthias Zimmermann CLA 2011-06-28 08:14:08 EDT
shipped with eclipse scout 3.7.0
Comment 6 Matthias Zimmermann CLA 2012-05-22 06:52:16 EDT
Comment on attachment 196195 [details]
Proposed patch.

moved iplog flag from bug to patch