Hi See for example http://camel.apache.org/walk-through-an-example.html
On Tue, Jan 8, 2013 at 2:51 PM, Claus Ibsen <claus.ib...@gmail.com> wrote: > On Tue, Jan 8, 2013 at 2:48 PM, tamil13 <tamilvanan...@gmail.com> wrote: >> >> Yes. We included *real mail server* detail only. This is same code except >> configuration information. >> Below code return null pointer exception also. >> Is there any other code available to create and send mail using *smtp* >> component? >> > > And did you create a template, eg > > template = camelContext.createProducerTemplate(); > > So its not null. > > > >> >> >> >> -- >> View this message in context: >> http://camel.465427.n5.nabble.com/camel-mail-tp5725119p5725124.html >> Sent from the Camel - Users mailing list archive at Nabble.com. > > > > -- > Claus Ibsen > ----------------- > Red Hat, Inc. > FuseSource is now part of Red Hat > Email: cib...@redhat.com > Web: http://fusesource.com > Twitter: davsclaus > Blog: http://davsclaus.com > Author of Camel in Action: http://www.manning.com/ibsen -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: cib...@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen