Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-8569

Ability to easily extract email attachments

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.15.0
    • 2.16.0
    • camel-mail
    • Patch Available
    • Moderate

    Description

      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

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            svanders38@gmail.com Simon van der Sluis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified