You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2015/04/02 11:40:53 UTC
[jira] [Commented] (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=14392453#comment-14392453 ]
Claus Ibsen commented on CAMEL-8569:
------------------------------------
I think its better to improve the existing? Can you not add an option to turn on reading the attachments as byte[]. Then ppl can turn this option on and get the behavior in your impl.
Would you be able take a look at that?
> 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)