C# Class EmailRelayService.SmtpClientSmtpAppender

The standard log4net SmtpAppender doesn't support SSL authentication, which is required to send email via gmail. This appender uses the SmtpClient (only available in .NET 2.0) to send SMTP mail that is secured via SSL. This is needed to talk to the gmail SMTP server. This code is heavily based on that posted by Ron Grabowski at: http://mail-archives.apache.org/mod_mbox/logging-log4net-user/200602.mbox/%[email protected]%3E
Inheritance: log4net.Appender.SmtpAppender
ファイルを表示 Open project: andrewmyhre/EmailProcessing

Protected Methods

Method Description
SendBuffer ( log4net.Core.LoggingEvent events ) : void

Method Details

SendBuffer() protected method

protected SendBuffer ( log4net.Core.LoggingEvent events ) : void
events log4net.Core.LoggingEvent
return void