Return-Path: X-Original-To: apmail-commons-user-archive@www.apache.org Delivered-To: apmail-commons-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B9245D29D for ; Thu, 9 Aug 2012 22:55:57 +0000 (UTC) Received: (qmail 80504 invoked by uid 500); 9 Aug 2012 22:55:56 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 80421 invoked by uid 500); 9 Aug 2012 22:55:56 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 80413 invoked by uid 99); 9 Aug 2012 22:55:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Aug 2012 22:55:56 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FSL_RCVD_USER,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of stefan.at.wpf@googlemail.com designates 209.85.161.171 as permitted sender) Received: from [209.85.161.171] (HELO mail-gg0-f171.google.com) (209.85.161.171) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Aug 2012 22:55:50 +0000 Received: by ggnp1 with SMTP id p1so955435ggn.30 for ; Thu, 09 Aug 2012 15:55:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=WBEpARuC3UTKtTB/xr5vhMPz7l5KHzzq0nh22YfAUzI=; b=eDczTlUrLevDCHczGGriV43i1TmvxZJmA7Tt5dJnLvTHhtY5rJI7kizrsyYou+mpcZ Qct9pNSs/rRKBA6aUNbqQo1XbMliWm1kSWrL8K45rfWFsPEDt5taSiB+Ct4zmIutmvTj 0mnXSj2vIjHUbQqKCZTnA82WrPbzSLh36YmbOK4PHZmjIMp+cHWgzXIPyTwFd0AtniQ6 jIla/QB3m6Ff6c9M/y/kbn362l6oBjLJQHJJ8eBNDzo+Po8LDqN1tAMOFcUyh6ymOrRc UKvP7fuSywDQvnKtNpDeEaedUVLghRTR9N6Ki9IuMQHVP2fYKmaCNrrVRqRRDd5WwqJk SQcQ== MIME-Version: 1.0 Received: by 10.50.191.227 with SMTP id hb3mr88152igc.45.1344552929355; Thu, 09 Aug 2012 15:55:29 -0700 (PDT) Received: by 10.231.246.4 with HTTP; Thu, 9 Aug 2012 15:55:29 -0700 (PDT) Date: Fri, 10 Aug 2012 00:55:29 +0200 Message-ID: Subject: [net] Send mail using SSL and authentication From: Stefan at WPF To: user@commons.apache.org Content-Type: multipart/alternative; boundary=14dae934118bbc673204c6dd1f92 --14dae934118bbc673204c6dd1f92 Content-Type: text/plain; charset=ISO-8859-1 Hello, I need to send an email using SSL (SMTPS) and authentication. In The Apache Commons Net I could find the following classes: - SMTPSClient class -> SSL, but no authentication? - AuthenticatingSMTPClient -> Authentication, but no SSL? Did I understand something wrong? How to use SSL and authentication together? Thanks for any hint! Best regards Stefan --14dae934118bbc673204c6dd1f92--