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

Simon van der Sluis commented on CAMEL-8569:
--------------------------------------------

Just pushed another commit to github.
SplitAttachmentsExpression can now work 2 ways.


> Ability to easily extract email attachments
> -------------------------------------------
>
>                 Key: CAMEL-8569
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8569
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-mail
>    Affects Versions: 2.15.0
>            Reporter: Simon van der Sluis
>              Labels: features
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> The existing support for splitting an email by it's attachments 
> (org.apache.camel.component.mail.SplitAttachmentsExpression) is limiting that 
> the attachments are still mime encoded, and cannot be easily used by the next 
> stage in a route.
> e.g.
> from("pop3://[email protected]?...
>     .split(new SplitAttachmentsExpression())
>      .to("file:///myAttachmentsFolder")
> doesn't work
> An improved splitter that decodes the mime parts into byte arrays would be 
> more useful



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to