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://[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