Return-Path: Delivered-To: apmail-maven-continuum-users-archive@www.apache.org Received: (qmail 19150 invoked from network); 17 May 2007 16:18:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 May 2007 16:18:57 -0000 Received: (qmail 72810 invoked by uid 500); 17 May 2007 16:18:58 -0000 Delivered-To: apmail-maven-continuum-users-archive@maven.apache.org Received: (qmail 72792 invoked by uid 500); 17 May 2007 16:18:58 -0000 Mailing-List: contact continuum-users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: continuum-users@maven.apache.org Delivered-To: mailing list continuum-users@maven.apache.org Received: (qmail 72767 invoked by uid 99); 17 May 2007 16:18:58 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 May 2007 09:18:58 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [62.193.206.9] (HELO webmail9.amenworld.com) (62.193.206.9) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 17 May 2007 09:18:50 -0700 Received: (qmail 26839 invoked from network); 17 May 2007 16:18:36 -0000 Received: from 109.52.68-86.rev.gaoland.net (HELO ?127.0.0.1?) (86.68.52.109) by 0 with SMTP; 17 May 2007 16:18:36 -0000 Message-ID: <464C804C.9050103@venisse.net> Date: Thu, 17 May 2007 18:18:20 +0200 From: Emmanuel Venisse User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: continuum-users@maven.apache.org Subject: Re: MailSender configuration for continuum 1.1-alpha on tomcat References: <10639801.post@talk.nabble.com> <464B055D.9010107@venisse.net> <10666742.post@talk.nabble.com> In-Reply-To: <10666742.post@talk.nabble.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org I don't know what's happen, it works fine for me with several smpt server (internal with/without authentication/ssl, gmail...) Emmanuel Martin Ahrer a écrit : > Thanks, unfortunately this still does not help and looking at the JavaDoc for > JavaMail 1.4 I don't see any property mail.smtp.password??? > > To test if the credentials for the mail server are correct I have replaced > the Jndi mail sender by the Javamail mail sender and it works fine (I had to > remove the sslProvider property though!). So I guess there is some missing > piece for running on tomcat? > > Any idea? Is this a bug or just some missing documentation on how to get it > working? > > Thanks > Martin > > > Emmanuel Venisse wrote: >> You must use mail.smtp.user, mail.smtp.password and mail.smtp.debug >> properties. >> >> Emmanuel >> >> Martin Ahrer a écrit : >>> I'm running continuum 1.1-alpha on tomcat 5.5.x and want to utilize the >>> mail >>> notifier. With the standalone continuum 1.0.x version I only would add >>> >>> >>> org.codehaus.plexus.mailsender.MailSender >>> >>> org.codehaus.plexus.mailsender.javamail.JavamailMailSender >>> >>> myhostname >>> 25 >>> com.sun.net.ssl.internal.ssl.Provider >>> mymailusername >>> mymailpassword >>> false >>> >>> >>> >>> to get this working. How can I setup the user credentials (user+password) >>> when running on Tomcat. >>> >>> I have tried the following resource configuration but it does not seem to >>> do >>> the job! >>> >>> >> type="javax.mail.Session" >>> mail.smtp.host="mymailhost" >>> mail.user="mymailuser" >>> mail.password="mymailpassword" >>> mail.debug="true"/> >>> >>> I get: >>> >>> EHLO xxxxxxxxxxxxxxxx >>> 250-xxxxxxxxxxxxxxxx GMX Mailservices >>> 250-8BITMIME >>> 250-ENHANCEDSTATUSCODES >>> 250-SIZE >>> 250-AUTH=LOGIN CRAM-MD5 PLAIN >>> 250-AUTH CRAM-MD5 LOGIN PLAIN >>> 250 STARTTLS >>> DEBUG SMTP: Found extension "8BITMIME", arg "" >>> DEBUG SMTP: Found extension "ENHANCEDSTATUSCODES", arg "" >>> DEBUG SMTP: Found extension "SIZE", arg "" >>> DEBUG SMTP: Found extension "AUTH=LOGIN", arg "CRAM-MD5 PLAIN" >>> DEBUG SMTP: Found extension "AUTH", arg "CRAM-MD5 LOGIN PLAIN" >>> DEBUG SMTP: Found extension "STARTTLS", arg "" >>> DEBUG SMTP: use8bit false >>> MAIL FROM: >>> 550 5.7.0 Need to authenticate via SMTP-AUTH-Login {mp029} >>> com.sun.mail.smtp.SMTPSendFailedException: 550 5.7.0 Need to authenticate >>> via SMTP-AUTH-Login {mp029} >> >> >