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

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專(zhuān)輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? mainfrm.cs

?? C#電子郵件的傳送
?? CS
字號(hào):
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.Net.Sockets;//用于處理網(wǎng)絡(luò)連接 
using System.IO; 

namespace QSendMail
{
	/// <summary>
	/// Form1 的摘要說(shuō)明。
	/// </summary>
	public class QSendMail : System.Windows.Forms.Form
	{
		internal System.Windows.Forms.Label label1;
		internal System.Windows.Forms.TextBox txtSmtpIP;
		internal System.Windows.Forms.GroupBox GroupBox1;
		internal System.Windows.Forms.Button btnSend;
		internal System.Windows.Forms.Label Label4;
		internal System.Windows.Forms.GroupBox GroupBox2;
		internal System.Windows.Forms.ListBox lstLog;
		internal System.Windows.Forms.TextBox txtMsg;
		internal System.Windows.Forms.TextBox txtFrom;
		internal System.Windows.Forms.TextBox txtTo;
		internal System.Windows.Forms.TextBox txtSub;
		internal System.Windows.Forms.Label Label7;
		internal System.Windows.Forms.Label Label8;
		internal System.Windows.Forms.Label Label9;
		internal System.Windows.Forms.Label Label10;
		internal System.Windows.Forms.TextBox TextBox1;
		internal System.Windows.Forms.TextBox TextBox2;
		internal System.Windows.Forms.Label Label5;
		internal System.Windows.Forms.TextBox TextBox3;
		internal System.Windows.Forms.Label Label6;
		/// <summary>
		/// 必需的設(shè)計(jì)器變量。
		/// </summary>
		private System.ComponentModel.Container components = null;

		public QSendMail()
		{
			//
			// Windows 窗體設(shè)計(jì)器支持所必需的
			//
			InitializeComponent();

			//
			// TODO: 在 InitializeComponent 調(diào)用后添加任何構(gòu)造函數(shù)代碼
			//
		}

		/// <summary>
		/// 清理所有正在使用的資源。
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
				if (components != null) 
				{
					components.Dispose();
				}
			}
			base.Dispose( disposing );
		}

		#region Windows Form Designer generated code
		/// <summary>
		/// 設(shè)計(jì)器支持所需的方法 - 不要使用代碼編輯器修改
		/// 此方法的內(nèi)容。
		/// </summary>
		private void InitializeComponent()
		{
			this.label1 = new System.Windows.Forms.Label();
			this.txtSmtpIP = new System.Windows.Forms.TextBox();
			this.GroupBox1 = new System.Windows.Forms.GroupBox();
			this.btnSend = new System.Windows.Forms.Button();
			this.Label4 = new System.Windows.Forms.Label();
			this.GroupBox2 = new System.Windows.Forms.GroupBox();
			this.lstLog = new System.Windows.Forms.ListBox();
			this.txtMsg = new System.Windows.Forms.TextBox();
			this.txtFrom = new System.Windows.Forms.TextBox();
			this.txtTo = new System.Windows.Forms.TextBox();
			this.txtSub = new System.Windows.Forms.TextBox();
			this.Label7 = new System.Windows.Forms.Label();
			this.Label8 = new System.Windows.Forms.Label();
			this.Label9 = new System.Windows.Forms.Label();
			this.Label10 = new System.Windows.Forms.Label();
			this.TextBox1 = new System.Windows.Forms.TextBox();
			this.TextBox2 = new System.Windows.Forms.TextBox();
			this.Label5 = new System.Windows.Forms.Label();
			this.TextBox3 = new System.Windows.Forms.TextBox();
			this.Label6 = new System.Windows.Forms.Label();
			this.GroupBox1.SuspendLayout();
			this.GroupBox2.SuspendLayout();
			this.SuspendLayout();
			// 
			// label1
			// 
			this.label1.Location = new System.Drawing.Point(8, 21);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(112, 23);
			this.label1.TabIndex = 24;
			this.label1.Text = "POP3服務(wù)器地址:";
			this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// txtSmtpIP
			// 
			this.txtSmtpIP.Location = new System.Drawing.Point(128, 21);
			this.txtSmtpIP.Name = "txtSmtpIP";
			this.txtSmtpIP.Size = new System.Drawing.Size(160, 21);
			this.txtSmtpIP.TabIndex = 21;
			this.txtSmtpIP.Text = "";
			// 
			// GroupBox1
			// 
			this.GroupBox1.Controls.AddRange(new System.Windows.Forms.Control[] {
																					this.btnSend});
			this.GroupBox1.Location = new System.Drawing.Point(0, 1);
			this.GroupBox1.Name = "GroupBox1";
			this.GroupBox1.Size = new System.Drawing.Size(448, 55);
			this.GroupBox1.TabIndex = 28;
			this.GroupBox1.TabStop = false;
			this.GroupBox1.Text = "SMTP服務(wù)器設(shè)置";
			this.GroupBox1.Enter += new System.EventHandler(this.GroupBox1_Enter);
			// 
			// btnSend
			// 
			this.btnSend.Location = new System.Drawing.Point(336, 16);
			this.btnSend.Name = "btnSend";
			this.btnSend.TabIndex = 14;
			this.btnSend.Text = "發(fā)送";
			this.btnSend.Click += new System.EventHandler(this.btnSend_Click);
			// 
			// Label4
			// 
			this.Label4.Location = new System.Drawing.Point(8, 88);
			this.Label4.Name = "Label4";
			this.Label4.Size = new System.Drawing.Size(56, 23);
			this.Label4.TabIndex = 25;
			this.Label4.Text = "發(fā)件人:";
			this.Label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
			// 
			// GroupBox2
			// 
			this.GroupBox2.Controls.AddRange(new System.Windows.Forms.Control[] {
																					this.lstLog,
																					this.txtMsg,
																					this.txtFrom,
																					this.txtTo,
																					this.txtSub,
																					this.Label7,
																					this.Label8,
																					this.Label9,
																					this.Label10});
			this.GroupBox2.Location = new System.Drawing.Point(0, 64);
			this.GroupBox2.Name = "GroupBox2";
			this.GroupBox2.Size = new System.Drawing.Size(448, 264);
			this.GroupBox2.TabIndex = 29;
			this.GroupBox2.TabStop = false;
			this.GroupBox2.Text = "發(fā)送郵件";
			// 
			// lstLog
			// 
			this.lstLog.ItemHeight = 12;
			this.lstLog.Location = new System.Drawing.Point(248, 40);
			this.lstLog.Name = "lstLog";
			this.lstLog.Size = new System.Drawing.Size(192, 76);
			this.lstLog.TabIndex = 13;
			// 
			// txtMsg
			// 
			this.txtMsg.Location = new System.Drawing.Point(9, 121);
			this.txtMsg.Multiline = true;
			this.txtMsg.Name = "txtMsg";
			this.txtMsg.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
			this.txtMsg.Size = new System.Drawing.Size(432, 136);
			this.txtMsg.TabIndex = 12;
			this.txtMsg.Text = "test!";
			this.txtMsg.TextChanged += new System.EventHandler(this.txtMsg_TextChanged);
			// 
			// txtFrom
			// 
			this.txtFrom.Location = new System.Drawing.Point(64, 24);
			this.txtFrom.Name = "txtFrom";
			this.txtFrom.Size = new System.Drawing.Size(160, 21);
			this.txtFrom.TabIndex = 8;
			this.txtFrom.Text = "";
			// 
			// txtTo
			// 
			this.txtTo.Location = new System.Drawing.Point(64, 49);
			this.txtTo.Name = "txtTo";
			this.txtTo.Size = new System.Drawing.Size(160, 21);
			this.txtTo.TabIndex = 8;
			this.txtTo.Text = "";
			// 
			// txtSub
			// 
			this.txtSub.Location = new System.Drawing.Point(64, 74);
			this.txtSub.Name = "txtSub";
			this.txtSub.Size = new System.Drawing.Size(160, 21);
			this.txtSub.TabIndex = 8;
			this.txtSub.Text = "";
			// 
			// Label7
			// 
			this.Label7.Location = new System.Drawing.Point(8, 49);
			this.Label7.Name = "Label7";
			this.Label7.Size = new System.Drawing.Size(56, 23);
			this.Label7.TabIndex = 11;
			this.Label7.Text = "收件人:";
			this.Label7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
			// 
			// Label8
			// 
			this.Label8.Location = new System.Drawing.Point(8, 72);
			this.Label8.Name = "Label8";
			this.Label8.Size = new System.Drawing.Size(56, 23);
			this.Label8.TabIndex = 11;
			this.Label8.Text = "主題:";
			this.Label8.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
			// 
			// Label9
			// 
			this.Label9.Location = new System.Drawing.Point(8, 96);
			this.Label9.Name = "Label9";
			this.Label9.Size = new System.Drawing.Size(56, 23);
			this.Label9.TabIndex = 11;
			this.Label9.Text = "內(nèi)容:";
			this.Label9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
			// 
			// Label10
			// 
			this.Label10.Location = new System.Drawing.Point(244, 20);
			this.Label10.Name = "Label10";
			this.Label10.Size = new System.Drawing.Size(80, 23);
			this.Label10.TabIndex = 11;
			this.Label10.Text = "發(fā)送記錄:";
			this.Label10.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
			// 
			// TextBox1
			// 
			this.TextBox1.Location = new System.Drawing.Point(136, 144);
			this.TextBox1.Name = "TextBox1";
			this.TextBox1.PasswordChar = '*';
			this.TextBox1.Size = new System.Drawing.Size(160, 21);
			this.TextBox1.TabIndex = 16;
			this.TextBox1.Text = "980409";
			// 
			// TextBox2
			// 
			this.TextBox2.Location = new System.Drawing.Point(136, 80);
			this.TextBox2.Name = "TextBox2";
			this.TextBox2.Size = new System.Drawing.Size(160, 21);
			this.TextBox2.TabIndex = 20;
			this.TextBox2.Text = "pop3.sina.com.cn";
			// 
			// Label5
			// 
			this.Label5.Location = new System.Drawing.Point(8, 112);
			this.Label5.Name = "Label5";
			this.Label5.Size = new System.Drawing.Size(112, 23);
			this.Label5.TabIndex = 26;
			this.Label5.Text = "用戶(hù)名:";
			this.Label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// TextBox3
			// 
			this.TextBox3.Location = new System.Drawing.Point(136, 112);
			this.TextBox3.Name = "TextBox3";
			this.TextBox3.Size = new System.Drawing.Size(160, 21);
			this.TextBox3.TabIndex = 19;
			this.TextBox3.Text = "qiugf_cn@sina.com";
			// 
			// Label6
			// 
			this.Label6.Location = new System.Drawing.Point(8, 144);
			this.Label6.Name = "Label6";
			this.Label6.Size = new System.Drawing.Size(112, 23);
			this.Label6.TabIndex = 23;
			this.Label6.Text = "密碼:";
			this.Label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// QSendMail
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
			this.ClientSize = new System.Drawing.Size(448, 333);
			this.Controls.AddRange(new System.Windows.Forms.Control[] {
																		  this.label1,
																		  this.txtSmtpIP,
																		  this.GroupBox1,
																		  this.Label4,
																		  this.GroupBox2,
																		  this.TextBox1,
																		  this.TextBox2,
																		  this.Label5,
																		  this.TextBox3,
																		  this.Label6});
			this.Name = "QSendMail";
			this.Text = "QSendMail";
			this.GroupBox1.ResumeLayout(false);
			this.GroupBox2.ResumeLayout(false);
			this.ResumeLayout(false);

		}
		#endregion

		/// <summary>
		/// 應(yīng)用程序的主入口點(diǎn)。
		/// </summary>
		[STAThread]
		static void Main() 
		{
			Application.Run(new QSendMail());
		}

		private void txtMsg_TextChanged(object sender, System.EventArgs e)
		{
		
		}

		private void btnSend_Click(object sender, System.EventArgs e)
		{
			lstLog.Items.Clear();
			SendMail mail=new SendMail();
			mail.MAILbody=this.txtMsg.Text;
			mail.MAILfrom=this.txtFrom.Text;
			mail.MAILserver=this.txtSmtpIP.Text;
			mail.MAILsubject=this.txtSub.Text;
			mail.MAILto=this.txtTo.Text;

			Cursor cr = Cursor.Current;
			Cursor.Current = Cursors.WaitCursor;
            lstLog.Items.Add("開(kāi)始郵件發(fā)送");
			if(mail.Send())
			{
                lstLog.Items.Add("郵件服務(wù)器發(fā)送成功");
			}
			else
			{
				lstLog.Items.Add("郵件服務(wù)器發(fā)送失敗");
			}
            Cursor.Current = cr;
		}

		private void GroupBox1_Enter(object sender, System.EventArgs e)
		{
		
		}
		
	}
}

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
视频在线在亚洲| 国产精品视频你懂的| 久久久精品免费观看| 日韩中文字幕1| 色欧美乱欧美15图片| 日本一区二区三区在线不卡| 国产不卡一区视频| 欧美日韩三级在线| 亚洲乱码国产乱码精品精的特点 | 在线免费av一区| 亚洲国产aⅴ天堂久久| 色菇凉天天综合网| 无码av免费一区二区三区试看| 欧美性感一区二区三区| 石原莉奈在线亚洲三区| 欧美剧在线免费观看网站 | 日本一不卡视频| 日韩欧美www| 成人性生交大片| 亚洲人123区| 欧美一区二区三区在线| 国产在线播放一区| 国产精品乱人伦| 欧美性视频一区二区三区| 亚洲电影在线免费观看| 欧美福利视频导航| 国产精品一区二区久激情瑜伽| 亚洲免费在线视频| 日韩一级成人av| 国产91精品在线观看| 亚洲一区二区精品视频| 欧美高清视频一二三区 | 久久久久97国产精华液好用吗| 不卡av在线免费观看| 一区二区欧美精品| 久久这里只有精品6| jlzzjlzz欧美大全| 麻豆精品视频在线观看视频| 亚洲日本中文字幕区| 欧美美女一区二区| 成人免费看视频| 免费成人在线网站| 亚洲欧美日韩电影| 日韩欧美三级在线| 欧美日韩精品福利| www.亚洲精品| 国产91高潮流白浆在线麻豆| 亚洲精品美腿丝袜| 国产精品丝袜一区| 99热国产精品| 精品中文字幕一区二区小辣椒 | 欧美日韩精品欧美日韩精品 | 97se亚洲国产综合在线| 麻豆精品一区二区av白丝在线| 亚洲一区二区在线视频| 亚洲欧洲av另类| 欧美精品一区二区高清在线观看| 5月丁香婷婷综合| 91丨九色丨蝌蚪丨老版| www.亚洲在线| 91丨九色丨蝌蚪富婆spa| 成人国产亚洲欧美成人综合网 | 天天av天天翘天天综合网| 一区二区免费视频| 天堂av在线一区| 久久精品国产秦先生| 国产精品中文字幕日韩精品| 91在线视频播放地址| 91精彩视频在线| 精品久久久久久综合日本欧美| 国产精品久久777777| 日韩伦理av电影| 亚洲精品乱码久久久久久| 人人爽香蕉精品| 91一区二区三区在线观看| 成人性视频免费网站| 91高清视频免费看| 国产视频一区二区三区在线观看 | 国产经典欧美精品| 6080午夜不卡| 欧美国产成人精品| 日韩激情一二三区| 成人动漫一区二区| 欧美精品成人一区二区三区四区| 久久嫩草精品久久久精品一| 亚洲午夜三级在线| 国产sm精品调教视频网站| 在线观看日韩高清av| 欧美激情在线一区二区三区| 美脚の诱脚舐め脚责91| 风间由美一区二区av101| 欧美裸体一区二区三区| 亚洲精品写真福利| 国产精品一品二品| 国产亲近乱来精品视频| 国产伦理精品不卡| 日韩一卡二卡三卡| 亚洲人成在线观看一区二区| 国产suv精品一区二区883| 在线观看国产精品网站| 亚洲精选视频在线| 欧美日本在线一区| 亚洲一区中文日韩| 美腿丝袜亚洲三区| 日韩欧美卡一卡二| 日韩中文字幕麻豆| 在线一区二区三区| 亚洲福利视频一区二区| 欧美精品亚洲二区| 亚洲免费av网站| 成熟亚洲日本毛茸茸凸凹| 久久亚洲二区三区| 激情文学综合丁香| 国产欧美日韩激情| 亚洲同性gay激情无套| 国产在线播放一区三区四| 中文一区一区三区高中清不卡| 色综合久久天天综合网| 最新中文字幕一区二区三区 | 福利一区二区在线| 夜夜揉揉日日人人青青一国产精品| 555www色欧美视频| 蜜臀av一区二区在线免费观看| 欧美私人免费视频| 国产麻豆一精品一av一免费 | 一区二区三区**美女毛片| 精品日韩在线观看| 亚洲线精品一区二区三区| 欧美性xxxxxx少妇| 国产精品自拍三区| 一区二区三区中文字幕精品精品| 777xxx欧美| 色综合婷婷久久| 国产精品1区2区3区| 最近中文字幕一区二区三区| 久久综合九色综合欧美98 | 国产三级精品三级在线专区| 欧美视频一区二| 午夜在线成人av| 久久久久久久久久美女| 欧美日韩综合不卡| 成人网页在线观看| 久久成人久久鬼色| 日韩av一二三| 亚洲女人的天堂| 国产精品久久久久9999吃药| 精品国产一区二区三区久久久蜜月| 日本精品视频一区二区| www.欧美精品一二区| 乱中年女人伦av一区二区| 天堂久久久久va久久久久| 欧美国产禁国产网站cc| 久久久久国产精品厨房| 日本一区二区电影| 欧美国产日本视频| 国产欧美综合色| 国产精品污网站| 最新久久zyz资源站| 亚洲精品欧美二区三区中文字幕| 亚洲人精品午夜| 综合久久综合久久| 亚洲欧美激情视频在线观看一区二区三区 | 国产精品网友自拍| 亚洲另类色综合网站| 午夜精品一区二区三区电影天堂| 亚洲专区一二三| 日韩国产精品久久久久久亚洲| 三级久久三级久久| 国产综合色精品一区二区三区| av电影在线观看不卡| 欧美久久高跟鞋激| 欧美一区二区三区日韩| 久久久精品国产免大香伊| 精品国产凹凸成av人网站| 久久久午夜精品| 婷婷综合另类小说色区| 国产不卡在线视频| 欧美性生活一区| 国产日本欧美一区二区| 视频精品一区二区| 色综合久久久久久久| 日韩视频在线你懂得| 亚洲日本在线天堂| 国产成人免费在线观看| 日韩免费看的电影| 亚洲bt欧美bt精品| www.视频一区| 国产网红主播福利一区二区| 美腿丝袜一区二区三区| 91精品国产入口| 一区二区三区在线高清| 国产一区 二区 三区一级| 欧美一级片免费看| 琪琪久久久久日韩精品| 欧美亚洲国产一区在线观看网站| 久久久综合精品| 久久精品国产**网站演员| 欧美肥大bbwbbw高潮| 肉肉av福利一精品导航| 欧美在线小视频|