This content has been marked as final.
Show 3 replies
-
1. Re: Can I set in a CamelRoute the Subject for an Email?
kcbabo Mar 20, 2014 9:53 PM (in response to jorgemoralespou_2)The camel-smtp component does allow the subject to be set per message based on a message header. Have you configured the include regex on the context mapper for the binding to include the "subject" context property? The context mapper for the camel binding controls which context properties are mapped to the camel message sent to the producer endpoint (smtp in this case).
-
2. Re: Can I set in a CamelRoute the Subject for an Email?
jorgemoralespou_2 Mar 21, 2014 2:56 AM (in response to kcbabo)Thanks Keith,
I'll try that if I figure out how it works :-D
Some efforts on the documentation would be great. Once I'll get it, I'll blog on how to do it, at least, for others with the same problem.
As always, thanks.
-
3. Re: Can I set in a CamelRoute the Subject for an Email?
kcbabo Mar 21, 2014 8:28 AM (in response to jorgemoralespou_2)1 of 1 people found this helpfulGo to your mail binding in the SY editor and select the MessageComposer tag. In the Regular Expressions -> Includes field, add subject.
~ keith