[
https://issues.apache.org/jira/browse/CAMEL-14595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17060104#comment-17060104
]
Claus Ibsen commented on CAMEL-14595:
-------------------------------------
from("scheduler:start?delay=1000")
.setBody(constant("Hello"))
.setHeader("mail.smtp.from", method(UUID.class,
"randomUUID"))
.to("smtp://localhost:[email protected]");
> camel-mail - Allow to use headers for additional mail properties
> ----------------------------------------------------------------
>
> Key: CAMEL-14595
> URL: https://issues.apache.org/jira/browse/CAMEL-14595
> Project: Camel
> Issue Type: Improvement
> Components: camel-mail
> Environment: See CAMEL-14579
> We should detect custom headers starting with mail. as key. And then use
> those in the additional properties map for the mail sender (create new
> instance so its private).
> This allows to make the mail more dynamic but reuse same endpoint and
> producer.
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 3.2.0
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)