You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Simon van der Sluis (JIRA)" <ji...@apache.org> on 2015/04/12 23:58:12 UTC

[jira] [Comment Edited] (CAMEL-8569) Ability to easily extract email attachments

    [ 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 edited comment on CAMEL-8569 at 4/12/15 9:57 PM:
---------------------------------------------------------------------

Just pushed another commit to github.
SplitAttachmentsExpression can now work 2 ways.
https://github.com/svanders/camel/commit/470b10ae2610bad7cc277d8f91d78dfe1f144873


was (Author: svanders38@gmail.com):
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://james@mymailserver.com?...
>     .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)