i'm using camel route that sends emails with smtp.gmail.com the URI is something like this
uri="smtps://[email protected]&[email protected]&password=password&debugMode=true&[email protected]&subject=${date:now:yyyyMMdd}"
so i'm expecting to get the current date as Subject , but the date is not parsed and it prints "${date:now:yyyyMMdd}"
I'm not sure you can use the
simpleexpression inside theurilike that. You'd be better off setting thesubjectand other values in headers.