Return-Path: Delivered-To: apmail-archiva-users-archive@www.apache.org Received: (qmail 8253 invoked from network); 27 Mar 2010 15:29:58 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 27 Mar 2010 15:29:58 -0000 Received: (qmail 76999 invoked by uid 500); 27 Mar 2010 15:29:58 -0000 Delivered-To: apmail-archiva-users-archive@archiva.apache.org Received: (qmail 76932 invoked by uid 500); 27 Mar 2010 15:29:57 -0000 Mailing-List: contact users-help@archiva.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@archiva.apache.org Delivered-To: mailing list users@archiva.apache.org Received: (qmail 76924 invoked by uid 99); 27 Mar 2010 15:29:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Mar 2010 15:29:57 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=AWL,FREEMAIL_FROM,HTML_MESSAGE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of odeaching@gmail.com designates 74.125.83.170 as permitted sender) Received: from [74.125.83.170] (HELO mail-pv0-f170.google.com) (74.125.83.170) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Mar 2010 15:29:52 +0000 Received: by pvg6 with SMTP id 6so5443711pvg.15 for ; Sat, 27 Mar 2010 08:29:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:received:message-id:subject :from:to:content-type; bh=peOJqoymAtZ4u8FN+vjVuGpAgu4mhy9pzwE2HRenfYY=; b=CBux14IRT1ltnVhpaUi3hXQC3bC9Wri18SHLzjwAB2x6r2I3Z7fNPTpn1eWmqwIGoA JLfviZuBeW3zFCVf2I9kWxsudcqsReifM+gztI85sg8qiP+Rpg/KzSPyBHeXWQTwQUXw NMrJxX03FRjlTsgZmGdJ0j6PWE8ms2rCC/cI0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=StAi+c/WMrls9FzvQe6sxsfctVJmYy7warJetTzyXemz3DCbmMUzu3OW4p0ISMlsxm zmliJoWa1aGSdHFQPG31rdWXDfXimtka5ATJElirZFkRKBVXEck9dfe2PdrOL1g6I56C dzryrlKi3u6W90B9ZtgYSREE3Lltl+Rwgw7G4= MIME-Version: 1.0 Sender: odeaching@gmail.com Received: by 10.114.134.1 with HTTP; Sat, 27 Mar 2010 08:29:32 -0700 (PDT) In-Reply-To: <578133161003250408x670d5b65la8b97c97622f70ae@mail.gmail.com> References: <578133161003220557q4b4d5b26rf80357358f8cc870@mail.gmail.com> <578133161003230609v46590942id96603bff1acbd0d@mail.gmail.com> <8667b1bd1003230716r286dfb73kae8e6ce82b1cd890@mail.gmail.com> <578133161003230833p3296a4ddraf357d68e3a5eaa2@mail.gmail.com> <8667b1bd1003231710nb1446f4n195eef2cc322b1f4@mail.gmail.com> <578133161003240830t525379fdi85bb8fa90d45f0f7@mail.gmail.com> <8667b1bd1003241820s4bce9df6o5f333c8c4b0cdb3f@mail.gmail.com> <578133161003250408x670d5b65la8b97c97622f70ae@mail.gmail.com> Date: Sat, 27 Mar 2010 23:29:32 +0800 X-Google-Sender-Auth: 32e62596c0feea6e Received: by 10.114.215.2 with SMTP id n2mr2735916wag.141.1269703772167; Sat, 27 Mar 2010 08:29:32 -0700 (PDT) Message-ID: <8667b1bd1003270829gf1dfa9dme8e41562c3b0bdb@mail.gmail.com> Subject: Re: How to configure smtp? From: Deng Ching To: users@archiva.apache.org Content-Type: multipart/alternative; boundary=0016e64bff1e4f5cde0482c9f234 --0016e64bff1e4f5cde0482c9f234 Content-Type: text/plain; charset=ISO-8859-1 Hmm.. for the mail.smtp.user property, did you append the @domain (ex. user@bogusmail.com)? On Thu, Mar 25, 2010 at 7:08 PM, Robert Wierschke wrote: > This doesn't work either. > > 2010/3/25 Deng Ching > > > On Wed, Mar 24, 2010 at 11:30 PM, Robert Wierschke > > wrote: > > > > > I've written a small Java example that uses the mail api to send mails. > > The > > > app can succesfully send mails via google using the following > properties: > > > > > > mail.smtp.host="smtp.googlemail.com" > > > mail.smtp.port="465" > > > mail.smtp.starttls.enable="true" > > > mail.smtp.auth="true" > > > > > > mail.smtp.socketFactory.port="465" > > > mail.smtp.socketFactory.class="javax.net.ssl.SSLSocketFactory" > > > mail.smtp.socketFactory.fallback="false" > > > > > > In my example username and password must be configured via > > > a javax.mail.Authenticator instance. However, I can't find any example > > that > > > shows how to set user and password via properties. So how to I > configure > > > username and password for Archiva? Both, mail.password > > > and mail.smpt.password do not work. > > > > > > > > Could you try with just username and password as the property names > instead > > of mail.user and mail.password? > > > > Thanks, > > Deng > > > --0016e64bff1e4f5cde0482c9f234--