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/03/30 00:37:52 UTC

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

Simon van der Sluis created CAMEL-8569:
------------------------------------------

             Summary: 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


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)