You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Thomas Hoffmann (Jira)" <ji...@apache.org> on 2022/08/06 19:24:00 UTC

[jira] [Created] (CAMEL-18358) Support for mail attachments for camel freemarker

Thomas Hoffmann created CAMEL-18358:
---------------------------------------

             Summary: Support for mail attachments for camel freemarker
                 Key: CAMEL-18358
                 URL: https://issues.apache.org/jira/browse/CAMEL-18358
             Project: Camel
          Issue Type: Improvement
          Components: camel-freemarker
    Affects Versions: 3.18.0
            Reporter: Thomas Hoffmann


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

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)