Return-Path: Delivered-To: apmail-logging-log4net-user-archive@www.apache.org Received: (qmail 77513 invoked from network); 15 Feb 2006 12:22:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 Feb 2006 12:22:52 -0000 Received: (qmail 41720 invoked by uid 500); 15 Feb 2006 12:22:51 -0000 Delivered-To: apmail-logging-log4net-user-archive@logging.apache.org Received: (qmail 41699 invoked by uid 500); 15 Feb 2006 12:22:51 -0000 Mailing-List: contact log4net-user-help@logging.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Log4NET User" List-Id: Delivered-To: mailing list log4net-user@logging.apache.org Received: (qmail 41688 invoked by uid 99); 15 Feb 2006 12:22:51 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Feb 2006 04:22:51 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of gaset.kovalenko@gmail.com designates 64.233.184.197 as permitted sender) Received: from [64.233.184.197] (HELO wproxy.gmail.com) (64.233.184.197) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Feb 2006 04:22:50 -0800 Received: by wproxy.gmail.com with SMTP id 69so1295127wra for ; Wed, 15 Feb 2006 04:22:29 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:reply-to:from:to:subject:date:organization:mime-version:content-type:content-transfer-encoding:x-mailer:thread-index:x-mimeole:in-reply-to:message-id; b=eeb4KwZfhgDBgChMcDWQ/Z3iJ1nRW651PvoanVLmFdwBUxpxjObJ/FJ3YAbyrkDwxiFsrHiekg19QxfXaLE0uQeAHORoxjxBHQwyvkm17Q557iefGWsEuJpHr5CGd36RBuMNbU3wKj1+9k7yE3ykjkQrwNveytlKg5ub4o3gK7M= Received: by 10.65.52.5 with SMTP id e5mr564697qbk; Wed, 15 Feb 2006 04:22:29 -0800 (PST) Received: from pcvlk ( [193.239.152.105]) by mx.gmail.com with ESMTP id q19sm3050480qbq.2006.02.15.04.22.27; Wed, 15 Feb 2006 04:22:28 -0800 (PST) Reply-To: From: "Vladimir Kovalenko" To: "'Log4NET User'" Subject: RE: SmtpAppender and SSL Date: Wed, 15 Feb 2006 14:24:27 +0200 Organization: Personal (Gmail) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcYyKaiU7NJ79qrPT12i8SmlYq5WKAAAQmOg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 In-Reply-To: <20060215121603.11911.qmail@web32209.mail.mud.yahoo.com> Message-ID: <43f31d04.031acf9b.5400.146f@mx.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Yes. It works correctly. -----Original Message----- From: Ron Grabowski [mailto:rongrabowski@yahoo.com] Sent: Wednesday, February 15, 2006 2:16 PM To: Log4NET User Subject: Re: SmtpAppender and SSL Have you verified that you're able to send mail through GMail by creating a simple console app and System.Web.Mail? --- Vladimir Kovalenko wrote: > Hi. > > I am currently experiencing the following problem: I am using > SmtpAppender. > E-mails are sent via smtp.gmail.com which uses SSL. My configuration > file > looks like that: > > > > > > > > > > > > > > > > > > > > > > > > I receive the following runtime error: > > > > log4net:ERROR [SmtpAppender] Error occurred while sending e-mail > notification. > System.Web.HttpException: The server rejected the sender address. The > server > response was: 530 5.7.0 Must issue a STARTTLS command first > a29sm294756qbd > ---> System.Reflection.TargetInvocationException: Exception has been > thrown > by the target of an invocation. ---> > System.Runtime.InteropServices.COMException (0x8004020E): The server > rejected the sender address. The server response was: 530 5.7.0 Must > issue a > STARTTLS command first a29sm294756qbd > > --- End of inner exception stack trace --- > at System.RuntimeType.InvokeDispMethod(String name, BindingFlags > invokeAttr, > Object target, Object[] args, Boolean[] byrefModifiers, Int32 > culture, > String[] namedParameters) > at System.RuntimeType.InvokeMember(String name, BindingFlags > bindingFlags, > Binder binder, Object target, Object[] providedArgs, > ParameterModifier[] > modifiers, CultureInfo culture, String[] namedParams) > at System.Web.Mail.SmtpMail.LateBoundAccessHelper.CallMethod(Object > obj, > String methodName, Object[] args) > --- End of inner exception stack trace --- > at System.Web.Mail.SmtpMail.LateBoundAccessHelper.CallMethod(Object > obj, > String methodName, Object[] args) > at System.Web.Mail.SmtpMail.CdoSysHelper.Send(MailMessage message) > at System.Web.Mail.SmtpMail.Send(MailMessage message) > at log4net.Appender.SmtpAppender.SendBuffer(LoggingEvent[] events) > > > > Have I missed something in my configuration? When I send e-mail with > System.Net.Mail.SmtpClient.Send(.) with the setting provided above, > everything goes ok. > > > > > > Best regards, > > Vladimir Kovalenko > > > > > >