How do I specify both a Name and Email in the From

<route id="Email_InvShortage">
        <from uri="direct:Email_InvShortage" />
        <to uri=&quot;smtp://[email protected]&amp;amp;subject=Inventory
shortage alert&amp;amp;from=&lt;Event Notifier> [email protected]" />
</route>

Camel does not like the '<' character in the 'from' value.

Caused by: org.xml.sax.SAXParseException: The value of attribute "uri"
associated with an element type "null" must not contain the '<' character.

--
View this message in context: 
http://camel.465427.n5.nabble.com/SMTP-Specify-Name-and-Email-in-the-From-element-using-Spring-tp5144138p5144138.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to