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

Ability to easily extract email attachments

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.15.0
    • Fix Version/s: 2.16.0
    • Component/s: camel-mail
    • Labels:
    • Patch Info:
      Patch Available
    • Estimated Complexity:
      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

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              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