欢迎来到天天文库
浏览记录
ID:14825811
大小:50.50 KB
页数:17页
时间:2018-07-30
《基于esmtp的email的发送程序》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、基于ESMTP的EMAIL的发送程序usingSystem;usingSystem.Drawing;usingSystem.Collections;usingSystem.ComponentModel;usingSystem.Windows.Forms;usingSystem.Data;usingSystem.Net;usingSystem.Net.Sockets;usingSystem.IO;namespaceESMTP{//////Form1的摘要说明。///publicclassForm1:System.Windows
2、.Forms.Form{privateSystem.Windows.Forms.LabellabelSrv;privateSystem.Windows.Forms.TextBoxtBSrv;privateSystem.Windows.Forms.TextBoxtBpwd;privateSystem.Windows.Forms.LabellabelPwd;privateSystem.Windows.Forms.TextBoxtBUser;privateSystem.Windows.Forms.LabellabelUser;privateSystem.Windows
3、.Forms.LabellabelSender;privateSystem.Windows.Forms.TextBoxtBSend;privateSystem.Windows.Forms.LabellabelRev;privateSystem.Windows.Forms.TextBoxtBRev;privateSystem.Windows.Forms.TextBoxtBSubject;privateSystem.Windows.Forms.Labellabelsubject;privateSystem.Windows.Forms.TextBoxtBMailTex
4、t;privateSystem.Windows.Forms.ButtonbtnSend;privateSystem.Windows.Forms.ProgressBarpb1;privateSystem.Windows.Forms.Labellabelp;privateSystem.Windows.Forms.LabellabelTxt;privateSystem.Windows.Forms.LabellabelMsg;privateSystem.Windows.Forms.ListBoxlistBoxMsg;privateGroupBoxgbBox1;priva
5、teGroupBoxgbBox2;//////必需的设计器变量。///privateSystem.ComponentModel.Containercomponents=null;publicForm1(){////Windows窗体设计器支持所必需的//InitializeComponent();////TODO:在InitializeComponent调用后添加任何构造函数代码//}//////清理所有正在使用的资源。///protectedoverridevoidDispose(bo
6、oldisposing){if(disposing){if(components!=null){components.Dispose();}}base.Dispose(disposing);}#regionWindowsFormDesignergeneratedcode//////设计器支持所需的方法-不要使用代码编辑器修改///此方法的内容。///privatevoidInitializeComponent(){this.labelSrv=newSystem.Windows.Forms.Label();this.tBSrv
7、=newSystem.Windows.Forms.TextBox();this.tBpwd=newSystem.Windows.Forms.TextBox();this.labelPwd=newSystem.Windows.Forms.Label();this.tBUser=newSystem.Windows.Forms.TextBox();this.labelUser=newSystem.Windows.Forms.Label();this.labelSender=newSystem.Windows.Forms.Label();this.tBSend=newS
8、ystem.Window
此文档下载收益归作者所有