Hi
I want to set the subject of a message that is sent from my custom component
to an smtp endpoint. I have tried setting the headers on the message that is
forwarded:
exchange.getOut().setHeader("subject", "test subject");
This has no effect. Any suggestion on how I can do that.
I also would like to declare the recipients dynamically when the message is
sent and not at configuration time - is that possible? Currently I do it as
part of the uri:
to("smtp://[EMAIL PROTECTED]@mail.com,[EMAIL PROTECTED]")
Regards
Ian
--
View this message in context:
http://www.nabble.com/Mail-Component%3A-Setting-the-mail-subject-and-recipients-tf4543058s22882.html#a12964862
Sent from the Camel - Users mailing list archive at Nabble.com.