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

Support for mail attachments for camel freemarker

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.18.0
    • 3.18.2, 3.19.0
    • camel-freemarker
    • None
    • Unknown

    Description

      Hello,

      we are using camel-freemarker to generate the body of emails and then send this message to the smtp endpoint for sending out the email.

      Freemarker is used for mail templates which is filled with the information from the application and then sent out.

      Now we also need to add attachments to the email (embedded images). Unfortunately the camel-freemarker package drops the attachment and the email is sent witout attachment.

      Is it possible to modify camel-freemarker to keep the attachments?

      Sending the body + attachment directly to smtp endpoint works. Only if it is routed through freemarker, the attachment gets lost.

      Thanks in adance!

      Thomas

       

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            tom_s4t Thomas Hoffmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: