【php精品源码栏目提醒】:以下是网学会员为您推荐的php精品源码-基于ESMTP的EMAIL的发送程序 - 其它资料,希望本篇文章对您学习有所帮助。
using Systemusing System.Drawingusing System.Collectionsusing System.ComponentModelusing System.Windows.Formsusing System.Datausing System.Netusing System.Net.Socketsusing System.IOnamespace ESMTP /// /// Form1 的摘要说明。
/// public class Form1 : System.Windows.Forms.Form private System.Windows.Forms.Label labelSrv private System.Windows.Forms.TextBox tBSrv private System.Windows.Forms.TextBox tBpwd private System.Windows.Forms.Label labelPwd private System.Windows.Forms.TextBox tBUser private System.Windows.Forms.Label labelUser private System.Windows.Forms.Label labelSender private System.Windows.Forms.TextBox tBSend private System.Windows.Forms.Label labelRev private System.Windows.Forms.TextBox tBRev private System.Windows.Forms.TextBox tBSubject private System.Windows.Forms.Label labelsubject private System.Windows.Forms.TextBox tBMailText private System.Windows.Forms.Button btnSend private System.Windows.Forms.ProgressBar pb1 private System.Windows.Forms.Label labelp private System.Windows.Forms.Label labelTxt private System.Windows.Forms.Label labelMsg private System.Windows.Forms.ListBox listBoxMsg private GroupBox gbBox1 private GroupBox gbBox2 /// /// 必需的设计器变量。
/// private System.ComponentModel.Container components null public Form1 // // Windows 窗体设计器支持所必需的 // InitializeComponent // // TODO: 在 InitializeComponent 调用后添加任何构造函数代码 //////// 清理所有正在使用的资源。
///protected override void Dispose bool disposing if disposing if components null components.Dispose base.Dispose disposing region Windows Form Designer generated code////// 设计器支持所需的方法 - 不要使用代码编辑器修改/// 此方法的内容。
///private void InitializeComponent this.labelSrv new System.Windows.Forms.Label this.tBSrv new System.Windows.Forms.TextBox this.tBpwd new System.Windows.Forms.TextBox this.labelPwd new System.Windows.Forms.Label this.tBUser new System.Windows.Forms.TextBox this.labelUser new System.Windows.Forms.Label this.labelSender new System.Windows.Forms.Label this.tBSend new System.Windows.Forms.TextBox this.labelRev new System.Windows.Forms.Label this.tBRev new System.Windows.Forms.TextBox this.tBSubject new System.Windows.Forms.TextBox this.labelsubject new System.Windows.Forms.Labelthis.tBMailText new System.Windows.Forms.TextBoxthis.btnSend new System.Windows.Forms.Buttonthis.pb1 new System.Windows.Forms.ProgressBarthis.labelp new System.Windows.Forms.Labelthis.labelTxt new System.Windows.Forms.Labelthis.labelMsg new System.Windows.Forms.Labelthis.listBoxMsg new System.Windows.Forms.ListBoxthis.gbBox1 new System.Windows.Forms.GroupBoxthis.gbBox2 new System.Windows.Forms.GroupBoxthis.gbBox1.SuspendLayoutthis.gbBox2.SuspendLayoutthis.SuspendLayout//// labelSrv//this.labelSrv.Location new System.Drawing.Point16 23this.labelSrv.Name labelSrvthis.labelSrv.Size new System.Drawing.Size111 16this.labelSrv.TabIndex 1this.labelSrv.Text ESMTP 服务器地址://// tBSrv//this.tBSrv.Location new System.Drawing.Point121 20this.tBSrv.Name tBSrvthis.tBSrv.Size new System.Drawing.Size244 21this.tBSrv.TabIndex 2//// tBpwd//this.tBpwd.Location new System.Drawing.Point333 49this.tBpwd.Name tBpwdthis.tBpwd.PasswordChar this.tBpwd.Size new System.Drawing.Size153 21this.tBpwd.TabIndex 20//// labelPwd//this.labelPwd.Location new System.Drawing.Point299 54this.labelPwd.Name labelPwdthis.labelPwd.Size new System.Drawing.Size42 18this.labelPwd.TabIndex 19this.labelPwd.Text 口令://// tBUser//this.tBUser.Location new System.Drawing.Point59 49this.tBUser.Name tBUserthis.tBUser.Size new System.Drawing.Size153 21this.tBUser.TabIndex 18//// labelUser//this.labelUser.Location new System.Drawing.Point14 52this.labelUser.Name labelUserthis.labelUser.Size new System.Drawing.Size48 18this.labelUser.TabIndex 17this.labelUser.Text 用户名://// labelSender//this.labelSender.Location new System.Drawing.Point16 21this.labelSender.Name labelSenderthis.labelSender.Size new System.Drawing.Size48 16this.labelSender.TabIndex 23this.labelSender.Text 发信人://// tBSend//this.tBSend.Location new System.Drawing.Point70 18this.tBSend.Name tBSendthis.tBSend.Size new System.Drawing.Size192 21this.tBSend.TabIndex 24//// labelRev//this.labelRev.Location new System.Drawing.Point16 51this.labelRev.Name labelRevthis.labelRev.Size new System.Drawing.Size56 24this.labelRev.TabIndex 25this.labelRev.Text 收信人://// tBRev//this.tBRev.Location new System.Drawing.Point71 46this.tBRev.Name tBRevthis.tBRev.Size new System.Drawing.Size192 21this.tBRev.TabIndex 26//// tBSubject//this.tBSubject.Location new System.Drawing.Point71 75this.tBSubject.Name tBSubjectthis.tBSubject.Size new System.Drawing.Size415 21this.tBSubject.TabIndex 28//// labelsubject//this.labelsubject.Location new System.Drawing.Point16 81this.labelsubject.Name labelsubjectthis.labelsubject.Size new System.Drawing.Size46 21this.labelsubject.TabIndex 27this.labelsubject.Text 主题://// tBMailText//this.tBMailText.Location new System.Drawing.Point18 233this.tBMailText.Multiline truethis.tBMailText.Name tBMailTextthis.tBMailText.ScrollBars System.Windows.Forms.ScrollBars.Boththis.tBMailText.Size new System.Drawing.Size510 181this.tBMailText.TabIndex 30//// btnSend//this.btnSend.Location new System.Drawing.Point205 420this.btnSend.Name btnSendthis.btnSend.Size new System.Drawing.Size128 32this.btnSend.TabIndex 32this.btnSend.Text EMAIL 发送this.btnSend.Click new System.EventHandlerthis.btnSend_Click//// pb1//this.pb1.Location new System.Drawing.Point99 459this.pb1.Maximum 16this.pb1.Name pb1this.pb1.Size new System.Drawing.Size429 16this.pb1.TabIndex 33this.pb1.Visible false//// labelp//this.labelp.Location new System.Draw
上一篇:
微型计算机系统的组成
下一篇:
试析影响公路路面平整度的因素及应采取的施工措施