[ 
https://issues.apache.org/jira/browse/MIME4J-267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16328427#comment-16328427
 ] 

Raffaele Gambelli edited comment on MIME4J-267 at 1/17/18 8:05 AM:
-------------------------------------------------------------------

{quote}StorageProvider provider = DefaultStorageProvider.getInstance();
 StorageOutputStream sos = provider.createStorageOutputStream();

m.writeTo(sos);

Storage storage = sos.toStorage();

try (InputStream is = storage.getInputStream())
Unknown macro: \{ DefaultMessageBuilder builder = new DefaultMessageBuilder(); 
message = builder.parseMessage(is); }{quote}
 

I'm sorry I was wrong, I tried with 0.8.1 and not with 0.8.0

 

I don't see 0.8.1 in releases combo here in jira, should I indicate "master" ?


was (Author: gamby1980):
{quote}StorageProvider provider = DefaultStorageProvider.getInstance();
 StorageOutputStream sos = provider.createStorageOutputStream();

m.writeTo(sos);


Storage storage = sos.toStorage();

try (InputStream is = storage.getInputStream()) {
 DefaultMessageBuilder builder = new DefaultMessageBuilder();
 message = builder.parseMessage(is);
 }
{quote}
 

I'm sorry I was wrong, I tried with 0.8.1 and not with 0.8.0

> Unable to read such a date header "Date: Fri, 05 Jan 2018 16:18:28 Z"
> ---------------------------------------------------------------------
>
>                 Key: MIME4J-267
>                 URL: https://issues.apache.org/jira/browse/MIME4J-267
>             Project: James Mime4j
>          Issue Type: Bug
>    Affects Versions: 0.8.0
>            Reporter: Raffaele Gambelli
>            Priority: Major
>
> I have many attached eml files, many of them have their date expressed in 
> this manner:
> Date: Fri, 05 Jan 2018 16:18:28 Z
> Mime4j is not able to format that pattern, I receive null for it
> Javamail is able to read it.
> Thanks
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to