Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0E752EBC0 for ; Tue, 8 Jan 2013 13:53:28 +0000 (UTC) Received: (qmail 59916 invoked by uid 500); 8 Jan 2013 13:53:27 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 59839 invoked by uid 500); 8 Jan 2013 13:53:27 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 59827 invoked by uid 99); 8 Jan 2013 13:53:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jan 2013 13:53:27 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of claus.ibsen@gmail.com designates 209.85.215.54 as permitted sender) Received: from [209.85.215.54] (HELO mail-la0-f54.google.com) (209.85.215.54) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jan 2013 13:53:23 +0000 Received: by mail-la0-f54.google.com with SMTP id fp12so467070lab.27 for ; Tue, 08 Jan 2013 05:53:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=u7Me8Np62sV4oTKXis/p+YUfAnRNi1oAel+ieOnpQdI=; b=Ko2EqL7yC4MvvmW19Py7G42io8v45I9WZnqh5YSsZHGjo97Y9lTg+FafUolLXfv392 pVhvnTnkbLoIGRm9qu+qt9Uj/joRCHDRAme5hzW6AM2wuI2VOGdZsZBZGF/gkXg42hyf nXCgrDLwl5fA4ksqiESVAAKQbR+c8ZJ8tZawJqgAEo/CeJFSAcnpXob0ym9lXHAU01Fe RbESM/Bao1JDyzSfhRVAbfDbGssgU0+P6OQ+PCcEMmsfp7WK7zBSz/jj+UGXDvCzDSXq PJSFX0+uyXBKz0uIuJVO8dC6MoXYDI3LRG/aGjYJ43lfuXUFGBlRXKqbOMVBKufOktQp 5SfQ== Received: by 10.152.125.240 with SMTP id mt16mr61802095lab.17.1357653181940; Tue, 08 Jan 2013 05:53:01 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.103.129 with HTTP; Tue, 8 Jan 2013 05:52:41 -0800 (PST) In-Reply-To: References: <1357651729846-5725119.post@n5.nabble.com> <1357652883784-5725124.post@n5.nabble.com> From: Claus Ibsen Date: Tue, 8 Jan 2013 14:52:41 +0100 Message-ID: Subject: Re: camel-mail To: users@camel.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi See for example http://camel.apache.org/walk-through-an-example.html On Tue, Jan 8, 2013 at 2:51 PM, Claus Ibsen wrote: > On Tue, Jan 8, 2013 at 2:48 PM, tamil13 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: cibsen@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: cibsen@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen