Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 346190 - Generation of javax.mail.MIMEMessage from Microsoft Word Document adds superfluous header.html file.
Summary: Generation of javax.mail.MIMEMessage from Microsoft Word Document adds superf...
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Scout (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-18 03:18 EDT by Otmar Caduff CLA
Modified: 2021-08-19 10:59 EDT (History)
2 users (show)

See Also:


Attachments

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

Observed with Microsoft Word 2002 (aka XP). When feeding the method
org.eclipse.scout.commons.MailUtility.createMimeMessageFromWordArchiveInternal(File, String, File[], boolean)
with a word archive created from a word 2002 document with pictures and formatting, a file header.html is added as a part to the MIMEMessage. This file seems to contain information not relevant to consumers of MimeMessage. Moreover, if the MimeMessage is sent by e-mail (which is most often why the functionality in this method is used), the receiver will see a useless 'header.html' attachment.
Suggestion: add this filename to the list of files to be ignored when creating a MimeMessage. Currently, these are 'filelist.xml', 'colorschememapping.xml', 'themedata.thmx', 'editdata.mso'.

Reproducible: Sometimes

Steps to Reproduce:
See details.
Comment 1 Hannes Mueller CLA 2011-05-24 09:31:14 EDT
fixed on trunk of scout 3.7
Comment 2 Otmar Caduff CLA 2011-05-24 09:35:49 EDT
OK