[email] Problem reading filename from inline email

2013-09-20 Thread Olaf Kaus
Hi, how can I extract the filename from an included email. If I use mimeMessageParser.getAttachmentList() and then dataSource.getName() but I received null for attched emails. The incoming email was created with outlook (html-email) and via drag-n-drop I include an other email as an attachment. T

Re: [email] Problem parsing EMail-Attachmentfilename (ISO-8859-15)

2013-08-02 Thread Olaf Kaus
> you could also strip all sensitive information from the raw email, just the > relevant headers are interesting for a unit test. > > Thanks, > > Thomas > > > On Fri, Aug 2, 2013 at 4:54 PM, Olaf Kaus wrote: > > > Hi Thomas, > > > > thanks for your

Re: [email] Problem parsing EMail-Attachmentfilename (ISO-8859-15)

2013-08-02 Thread Olaf Kaus
a general way. > > Could you please create an issue on the bug tracker > https://issues.apache.org/jira/browse/EMAIL and attach an example raw mail > which illustrates the problem? > > Thanks, > > Thomas > > > > On Fri, Aug 2, 2013 at 3:48 PM, Olaf Kaus wrote:

[email] Problem parsing EMail-Attachmentfilename (ISO-8859-15)

2013-08-02 Thread Olaf Kaus
Hi, first: Thank you for your good work! I use common-email-1.3.1 to parse emails from a imap-server. After parsing an email with an pdf-attachment I received the following attachment-filename: ISO-8859-15''%5A%E4%68%6C%65%72%73%74%61%6E%64%73%6D%69%74%74 But the filename should be “Zählerstandsmi