Hi,
Are you trying to set the 'to' field in your email.  You can either set that
on the smtp URI or in a header.  For example:

<setHeader
headerName="to"><constant>recipi...@domain.com</constant></setHeader>

The body of your email is whatever is on your message body.

If you want to set it as part of your route, try using a bean:

<to uri="bean:createEmailBodyBean?method=createEmailBody"/>

public String createEmailBody()
{
  return "Some email body string here";

}

Thanks,
Yogesh

--
View this message in context: 
http://camel.465427.n5.nabble.com/Need-help-in-Camel-to-send-emails-tp5541960p5542525.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to