Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Bug
-
2.17.3
-
None
-
None
-
Unknown
Description
When I am using URI option "to" it can be not overriden with 'CamelAwsSesTo' header.
BTW , CamelAwsSesSubject header works
Java DSL:
from("xxxx").setBody()
.constant("Hello").setHeader("CamelAwsSesSubject", constant("BBB"))
.setHeader("CamelAwsSesTo", constant("override@somesite.com"))
.to("aws-ses:from@somesite.com" + "?amazonSESClient=#awsConn" + "&subject=AAA"
+ "&to=to@somesite.com" + "&returnPath=xxx@xxx.com")
expected: send the email to override@somesite.com
actually: send the email to to@somesite.com