亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? smtpappender.cs

?? 詳細講述了數據庫編程
?? CS
?? 第 1 頁 / 共 2 頁
字號:
#region Copyright & License
//
// Copyright 2001-2005 The Apache Software Foundation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
#endregion

// .NET Compact Framework 1.0 has no support for System.Web.Mail
// SSCLI 1.0 has no support for System.Web.Mail
#if !NETCF && !SSCLI

using System;
using System.IO;

#if NET_2_0
using System.Net.Mail;
#else
using System.Web.Mail;
#endif

using log4net.Layout;
using log4net.Core;
using log4net.Util;

namespace log4net.Appender
{
	/// <summary>
	/// Send an e-mail when a specific logging event occurs, typically on errors 
	/// or fatal errors.
	/// </summary>
	/// <remarks>
	/// <para>
	/// The number of logging events delivered in this e-mail depend on
	/// the value of <see cref="BufferingAppenderSkeleton.BufferSize"/> option. The
	/// <see cref="SmtpAppender"/> keeps only the last
	/// <see cref="BufferingAppenderSkeleton.BufferSize"/> logging events in its 
	/// cyclic buffer. This keeps memory requirements at a reasonable level while 
	/// still delivering useful application context.
	/// </para>
	/// <note type="caution">
	/// Authentication and setting the server Port are only available on the MS .NET 1.1 runtime.
	/// For these features to be enabled you need to ensure that you are using a version of
	/// the log4net assembly that is built against the MS .NET 1.1 framework and that you are
	/// running the your application on the MS .NET 1.1 runtime. On all other platforms only sending
	/// unauthenticated messages to a server listening on port 25 (the default) is supported.
	/// </note>
	/// <para>
	/// Authentication is supported by setting the <see cref="Authentication"/> property to
	/// either <see cref="SmtpAuthentication.Basic"/> or <see cref="SmtpAuthentication.Ntlm"/>.
	/// If using <see cref="SmtpAuthentication.Basic"/> authentication then the <see cref="Username"/>
	/// and <see cref="Password"/> properties must also be set.
	/// </para>
	/// <para>
	/// To set the SMTP server port use the <see cref="Port"/> property. The default port is 25.
	/// </para>
	/// </remarks>
	/// <author>Nicko Cadell</author>
	/// <author>Gert Driesen</author>
	public class SmtpAppender : BufferingAppenderSkeleton
	{
		#region Public Instance Constructors

		/// <summary>
		/// Default constructor
		/// </summary>
		/// <remarks>
		/// <para>
		/// Default constructor
		/// </para>
		/// </remarks>
		public SmtpAppender()
		{	
		}

		#endregion // Public Instance Constructors

		#region Public Instance Properties

		/// <summary>
		/// Gets or sets a semicolon-delimited list of recipient e-mail addresses.
		/// </summary>
		/// <value>
		/// A semicolon-delimited list of e-mail addresses.
		/// </value>
		/// <remarks>
		/// <para>
		/// A semicolon-delimited list of recipient e-mail addresses.
		/// </para>
		/// </remarks>
		public string To 
		{
			get { return m_to; }
			set { m_to = value; }
		}

		/// <summary>
		/// Gets or sets the e-mail address of the sender.
		/// </summary>
		/// <value>
		/// The e-mail address of the sender.
		/// </value>
		/// <remarks>
		/// <para>
		/// The e-mail address of the sender.
		/// </para>
		/// </remarks>
		public string From 
		{
			get { return m_from; }
			set { m_from = value; }
		}

		/// <summary>
		/// Gets or sets the subject line of the e-mail message.
		/// </summary>
		/// <value>
		/// The subject line of the e-mail message.
		/// </value>
		/// <remarks>
		/// <para>
		/// The subject line of the e-mail message.
		/// </para>
		/// </remarks>
		public string Subject 
		{
			get { return m_subject; }
			set { m_subject = value; }
		}
  
		/// <summary>
		/// Gets or sets the name of the SMTP relay mail server to use to send 
		/// the e-mail messages.
		/// </summary>
		/// <value>
		/// The name of the e-mail relay server. If SmtpServer is not set, the 
		/// name of the local SMTP server is used.
		/// </value>
		/// <remarks>
		/// <para>
		/// The name of the e-mail relay server. If SmtpServer is not set, the 
		/// name of the local SMTP server is used.
		/// </para>
		/// </remarks>
		public string SmtpHost
		{
			get { return m_smtpHost; }
			set { m_smtpHost = value; }
		}

		/// <summary>
		/// Obsolete
		/// </summary>
		/// <remarks>
		/// Use the BufferingAppenderSkeleton Fix methods instead 
		/// </remarks>
		/// <remarks>
		/// <para>
		/// Obsolete property.
		/// </para>
		/// </remarks>
		[Obsolete("Use the BufferingAppenderSkeleton Fix methods")]
		public bool LocationInfo
		{
			get { return false; }
			set { ; }
		}

		/// <summary>
		/// The mode to use to authentication with the SMTP server
		/// </summary>
		/// <remarks>
		/// <note type="caution">Authentication is only available on the MS .NET 1.1 runtime.</note>
		/// <para>
		/// Valid Authentication mode values are: <see cref="SmtpAuthentication.None"/>, 
		/// <see cref="SmtpAuthentication.Basic"/>, and <see cref="SmtpAuthentication.Ntlm"/>. 
		/// The default value is <see cref="SmtpAuthentication.None"/>. When using 
		/// <see cref="SmtpAuthentication.Basic"/> you must specify the <see cref="Username"/> 
		/// and <see cref="Password"/> to use to authenticate.
		/// When using <see cref="SmtpAuthentication.Ntlm"/> the Windows credentials for the current
		/// thread, if impersonating, or the process will be used to authenticate. 
		/// </para>
		/// </remarks>
		public SmtpAuthentication Authentication
		{
			get { return m_authentication; }
			set { m_authentication = value; }
		}

		/// <summary>
		/// The username to use to authenticate with the SMTP server
		/// </summary>
		/// <remarks>
		/// <note type="caution">Authentication is only available on the MS .NET 1.1 runtime.</note>
		/// <para>
		/// A <see cref="Username"/> and <see cref="Password"/> must be specified when 
		/// <see cref="Authentication"/> is set to <see cref="SmtpAuthentication.Basic"/>, 
		/// otherwise the username will be ignored. 
		/// </para>
		/// </remarks>
		public string Username
		{
			get { return m_username; }
			set { m_username = value; }
		}

		/// <summary>
		/// The password to use to authenticate with the SMTP server
		/// </summary>
		/// <remarks>
		/// <note type="caution">Authentication is only available on the MS .NET 1.1 runtime.</note>
		/// <para>
		/// A <see cref="Username"/> and <see cref="Password"/> must be specified when 
		/// <see cref="Authentication"/> is set to <see cref="SmtpAuthentication.Basic"/>, 
		/// otherwise the password will be ignored. 
		/// </para>
		/// </remarks>
		public string Password
		{
			get { return m_password; }
			set { m_password = value; }
		}

		/// <summary>
		/// The port on which the SMTP server is listening
		/// </summary>
		/// <remarks>
		/// <note type="caution">Server Port is only available on the MS .NET 1.1 runtime.</note>
		/// <para>
		/// The port on which the SMTP server is listening. The default
		/// port is <c>25</c>. The Port can only be changed when running on
		/// the MS .NET 1.1 runtime.
		/// </para>
		/// </remarks>
		public int Port
		{
			get { return m_port; }
			set { m_port = value; }
		}

		/// <summary>
		/// Gets or sets the priority of the e-mail message

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人动漫一区二区三区| 97精品电影院| 亚洲一区av在线| 免费成人在线观看| 三级不卡在线观看| 亚洲人成7777| 亚洲大片精品永久免费| 国产精品久久久一本精品 | 精品一区二区在线免费观看| 欧美在线观看18| 成人av资源在线观看| 精品一区二区三区影院在线午夜 | 亚洲美女视频在线| 亚洲精品乱码久久久久| 国产精品免费av| 久久综合丝袜日本网| 欧美一区二区在线看| 欧美在线影院一区二区| 欧美日韩国产在线观看| 欧美在线看片a免费观看| 国产美女娇喘av呻吟久久| 国产成人三级在线观看| 欧美日韩精品一区二区在线播放| 欧美一级二级三级蜜桃| 7777女厕盗摄久久久| 一道本成人在线| 91精品国产综合久久精品| 欧美丝袜丝交足nylons图片| 日本乱人伦一区| 91久久精品网| 日本高清成人免费播放| 91麻豆精品国产91久久久使用方法| 亚洲综合免费观看高清完整版在线 | 亚洲素人一区二区| 亚洲高清免费视频| 精品视频一区二区三区免费| 欧美伦理影视网| 日韩一区二区免费在线电影| 欧美一区在线视频| 国产精品欧美极品| 91麻豆6部合集magnet| 日韩免费观看2025年上映的电影| 欧美性猛交xxxxxxxx| 久久久www免费人成精品| 亚洲一区影音先锋| 日韩一区二区三区电影在线观看 | 国产精品中文字幕欧美| 国产精品99久久久久久似苏梦涵| 色综合久久综合网97色综合| 亚洲成人免费av| 麻豆成人免费电影| 成人黄页在线观看| 成+人+亚洲+综合天堂| 欧美精品aⅴ在线视频| 国内成人自拍视频| 亚洲欧美日韩一区二区| 免费视频最近日韩| 欧美主播一区二区三区美女| 中文字幕乱码久久午夜不卡| 蜜臀av一区二区在线观看| 色素色在线综合| 久久久蜜臀国产一区二区| 青青草97国产精品免费观看 | 亚洲精品福利视频网站| 亚洲蜜桃精久久久久久久| 国产原创一区二区三区| 午夜精品福利一区二区三区av| 97se亚洲国产综合自在线观| 91精品国产美女浴室洗澡无遮挡| 51精品久久久久久久蜜臀| 一区二区三区不卡视频在线观看| 成人深夜在线观看| 国产精品麻豆网站| 国产成人亚洲综合a∨猫咪| 精品欧美久久久| 中文字幕视频一区二区三区久| 韩国中文字幕2020精品| 欧美亚洲综合一区| 欧美日韩一区二区三区在线看 | 久久免费电影网| 亚洲午夜三级在线| 国产精品久线观看视频| 波多野洁衣一区| 欧美一级午夜免费电影| 午夜欧美一区二区三区在线播放| 国产91丝袜在线播放九色| 日韩欧美国产一二三区| 免费精品视频最新在线| 日韩视频一区二区在线观看| 轻轻草成人在线| 欧美日本一区二区| 亚洲丝袜另类动漫二区| 91精品1区2区| 亚欧色一区w666天堂| 欧美精品自拍偷拍| 在线精品视频一区二区| 日韩精品亚洲一区二区三区免费| 亚洲国产精品久久久久婷婷884 | 久久精品久久综合| 亚洲视频一二三| 亚洲va国产va欧美va观看| 暴力调教一区二区三区| 国产精品久久久久久久久久久免费看| 成人免费视频一区| 一区二区三区加勒比av| 91精品在线一区二区| 1区2区3区国产精品| 欧美精品黑人性xxxx| 天堂影院一区二区| 久久精品在这里| 韩国精品久久久| 欧美一区二区视频在线观看2022| 国产激情精品久久久第一区二区| 91在线观看美女| 欧美电影在哪看比较好| 成人在线一区二区三区| 久久国产精品露脸对白| 国产精品不卡视频| 久久99精品一区二区三区| 久久久天堂av| 91麻豆国产福利在线观看| 极品少妇xxxx偷拍精品少妇| 精品乱码亚洲一区二区不卡| 色综合天天综合网国产成人综合天| 波多野结衣中文字幕一区二区三区 | 亚洲一区在线视频观看| 国产精品福利一区二区| 色狠狠色噜噜噜综合网| 成人午夜av影视| 另类小说一区二区三区| av亚洲精华国产精华| 中文字幕在线观看一区| 欧美美女网站色| 国产成人在线色| 乱一区二区av| 亚洲区小说区图片区qvod| 欧美成人aa大片| 91网页版在线| 欧美日韩免费在线视频| 99re6这里只有精品视频在线观看| 欧美亚日韩国产aⅴ精品中极品| 欧美日韩精品一二三区| 国产又黄又大久久| 亚洲人精品午夜| 欧美一区二区黄色| 国产大陆亚洲精品国产| 成人的网站免费观看| 激情另类小说区图片区视频区| 欧洲一区二区av| 粉嫩蜜臀av国产精品网站| 蜜臀久久99精品久久久久宅男| 久久久一区二区| 亚洲成人免费av| 国产农村妇女精品| 国产午夜精品久久久久久久| 欧美电影免费观看完整版| 亚洲人午夜精品天堂一二香蕉| 99久久精品国产导航| 成人毛片在线观看| 欧美怡红院视频| 欧美午夜一区二区| 国产电影精品久久禁18| 国产精品资源在线看| 国产另类ts人妖一区二区| 亚洲一区二区中文在线| 一区二区免费看| 一个色在线综合| 亚洲国产欧美在线| 亚洲成人资源在线| 欧美激情一区三区| 日本一区二区免费在线观看视频| 欧美成人r级一区二区三区| 2022国产精品视频| 成人免费高清在线| 美女视频一区在线观看| 国产精品亚洲人在线观看| 美国十次了思思久久精品导航| 欧美成va人片在线观看| 91精品国产欧美一区二区18| 久久久青草青青国产亚洲免观| 欧美国产乱子伦| 亚洲欧美激情插| 国产精品三级电影| 国产欧美日韩亚州综合| 日韩免费高清电影| 91麻豆精品国产91久久久更新时间| 欧美性一区二区| 欧美精品一区二区蜜臀亚洲| 国内精品久久久久影院一蜜桃| 成人av网址在线观看| 成人av网站在线观看免费| 国产精品18久久久| 欧美日韩小视频| 日韩国产在线一| 99视频一区二区| 亚洲免费成人av| 日韩中文欧美在线| 免费成人av在线| 久久国产精品72免费观看| 99国产精品久久|