308 lines
13 KiB
C#
308 lines
13 KiB
C#
|
|
namespace YLMailTest
|
|
{
|
|
partial class FormMail
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.tbServer = new System.Windows.Forms.TextBox();
|
|
this.tbPort = new System.Windows.Forms.TextBox();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.chkSSL = new System.Windows.Forms.CheckBox();
|
|
this.tbUserName = new System.Windows.Forms.TextBox();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.tbPassword = new System.Windows.Forms.TextBox();
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
this.tbFrom = new System.Windows.Forms.TextBox();
|
|
this.label5 = new System.Windows.Forms.Label();
|
|
this.tbMailTo = new System.Windows.Forms.TextBox();
|
|
this.label6 = new System.Windows.Forms.Label();
|
|
this.button1 = new System.Windows.Forms.Button();
|
|
this.chkReceipt = new System.Windows.Forms.CheckBox();
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
|
this.button2 = new System.Windows.Forms.Button();
|
|
this.textBox1 = new System.Windows.Forms.TextBox();
|
|
this.tbMailSubject = new System.Windows.Forms.TextBox();
|
|
this.label7 = new System.Windows.Forms.Label();
|
|
this.tbMailBody = new System.Windows.Forms.TextBox();
|
|
this.label8 = new System.Windows.Forms.Label();
|
|
this.groupBox1.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(60, 142);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(29, 12);
|
|
this.label1.TabIndex = 0;
|
|
this.label1.Text = "主机";
|
|
//
|
|
// tbServer
|
|
//
|
|
this.tbServer.Location = new System.Drawing.Point(101, 138);
|
|
this.tbServer.Name = "tbServer";
|
|
this.tbServer.Size = new System.Drawing.Size(268, 21);
|
|
this.tbServer.TabIndex = 1;
|
|
//
|
|
// tbPort
|
|
//
|
|
this.tbPort.Location = new System.Drawing.Point(101, 178);
|
|
this.tbPort.Name = "tbPort";
|
|
this.tbPort.Size = new System.Drawing.Size(268, 21);
|
|
this.tbPort.TabIndex = 3;
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(60, 182);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(29, 12);
|
|
this.label2.TabIndex = 2;
|
|
this.label2.Text = "端口";
|
|
//
|
|
// chkSSL
|
|
//
|
|
this.chkSSL.AutoSize = true;
|
|
this.chkSSL.Location = new System.Drawing.Point(378, 180);
|
|
this.chkSSL.Name = "chkSSL";
|
|
this.chkSSL.Size = new System.Drawing.Size(42, 16);
|
|
this.chkSSL.TabIndex = 4;
|
|
this.chkSSL.Text = "SSL";
|
|
this.chkSSL.UseVisualStyleBackColor = true;
|
|
//
|
|
// tbUserName
|
|
//
|
|
this.tbUserName.Location = new System.Drawing.Point(101, 215);
|
|
this.tbUserName.Name = "tbUserName";
|
|
this.tbUserName.Size = new System.Drawing.Size(268, 21);
|
|
this.tbUserName.TabIndex = 6;
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Location = new System.Drawing.Point(60, 219);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(29, 12);
|
|
this.label3.TabIndex = 5;
|
|
this.label3.Text = "用户";
|
|
//
|
|
// tbPassword
|
|
//
|
|
this.tbPassword.Location = new System.Drawing.Point(101, 258);
|
|
this.tbPassword.Name = "tbPassword";
|
|
this.tbPassword.PasswordChar = '*';
|
|
this.tbPassword.Size = new System.Drawing.Size(268, 21);
|
|
this.tbPassword.TabIndex = 8;
|
|
//
|
|
// label4
|
|
//
|
|
this.label4.AutoSize = true;
|
|
this.label4.Location = new System.Drawing.Point(60, 262);
|
|
this.label4.Name = "label4";
|
|
this.label4.Size = new System.Drawing.Size(29, 12);
|
|
this.label4.TabIndex = 7;
|
|
this.label4.Text = "密码";
|
|
//
|
|
// tbFrom
|
|
//
|
|
this.tbFrom.Location = new System.Drawing.Point(101, 295);
|
|
this.tbFrom.Name = "tbFrom";
|
|
this.tbFrom.Size = new System.Drawing.Size(268, 21);
|
|
this.tbFrom.TabIndex = 10;
|
|
//
|
|
// label5
|
|
//
|
|
this.label5.AutoSize = true;
|
|
this.label5.Location = new System.Drawing.Point(48, 299);
|
|
this.label5.Name = "label5";
|
|
this.label5.Size = new System.Drawing.Size(41, 12);
|
|
this.label5.TabIndex = 9;
|
|
this.label5.Text = "发件人";
|
|
//
|
|
// tbMailTo
|
|
//
|
|
this.tbMailTo.Location = new System.Drawing.Point(101, 333);
|
|
this.tbMailTo.Name = "tbMailTo";
|
|
this.tbMailTo.Size = new System.Drawing.Size(268, 21);
|
|
this.tbMailTo.TabIndex = 12;
|
|
//
|
|
// label6
|
|
//
|
|
this.label6.AutoSize = true;
|
|
this.label6.Location = new System.Drawing.Point(48, 337);
|
|
this.label6.Name = "label6";
|
|
this.label6.Size = new System.Drawing.Size(41, 12);
|
|
this.label6.TabIndex = 11;
|
|
this.label6.Text = "收件人";
|
|
//
|
|
// button1
|
|
//
|
|
this.button1.Location = new System.Drawing.Point(90, 504);
|
|
this.button1.Name = "button1";
|
|
this.button1.Size = new System.Drawing.Size(291, 23);
|
|
this.button1.TabIndex = 13;
|
|
this.button1.Text = "发送邮件";
|
|
this.button1.UseVisualStyleBackColor = true;
|
|
this.button1.Click += new System.EventHandler(this.button1_Click);
|
|
//
|
|
// chkReceipt
|
|
//
|
|
this.chkReceipt.AutoSize = true;
|
|
this.chkReceipt.Location = new System.Drawing.Point(375, 338);
|
|
this.chkReceipt.Name = "chkReceipt";
|
|
this.chkReceipt.Size = new System.Drawing.Size(72, 16);
|
|
this.chkReceipt.TabIndex = 14;
|
|
this.chkReceipt.Text = "需要回执";
|
|
this.chkReceipt.UseVisualStyleBackColor = true;
|
|
//
|
|
// groupBox1
|
|
//
|
|
this.groupBox1.Controls.Add(this.button2);
|
|
this.groupBox1.Controls.Add(this.textBox1);
|
|
this.groupBox1.Location = new System.Drawing.Point(44, 13);
|
|
this.groupBox1.Name = "groupBox1";
|
|
this.groupBox1.Size = new System.Drawing.Size(416, 105);
|
|
this.groupBox1.TabIndex = 15;
|
|
this.groupBox1.TabStop = false;
|
|
this.groupBox1.Text = "配置字符串";
|
|
//
|
|
// button2
|
|
//
|
|
this.button2.Location = new System.Drawing.Point(334, 62);
|
|
this.button2.Name = "button2";
|
|
this.button2.Size = new System.Drawing.Size(63, 31);
|
|
this.button2.TabIndex = 1;
|
|
this.button2.Text = "解析";
|
|
this.button2.UseVisualStyleBackColor = true;
|
|
this.button2.Click += new System.EventHandler(this.button2_Click);
|
|
//
|
|
// textBox1
|
|
//
|
|
this.textBox1.Location = new System.Drawing.Point(6, 20);
|
|
this.textBox1.Multiline = true;
|
|
this.textBox1.Name = "textBox1";
|
|
this.textBox1.Size = new System.Drawing.Size(321, 74);
|
|
this.textBox1.TabIndex = 0;
|
|
//
|
|
// tbMailSubject
|
|
//
|
|
this.tbMailSubject.Location = new System.Drawing.Point(101, 371);
|
|
this.tbMailSubject.Name = "tbMailSubject";
|
|
this.tbMailSubject.Size = new System.Drawing.Size(268, 21);
|
|
this.tbMailSubject.TabIndex = 17;
|
|
this.tbMailSubject.Text = "测试邮件发送";
|
|
//
|
|
// label7
|
|
//
|
|
this.label7.AutoSize = true;
|
|
this.label7.Location = new System.Drawing.Point(36, 375);
|
|
this.label7.Name = "label7";
|
|
this.label7.Size = new System.Drawing.Size(53, 12);
|
|
this.label7.TabIndex = 16;
|
|
this.label7.Text = "邮件标题";
|
|
//
|
|
// tbMailBody
|
|
//
|
|
this.tbMailBody.Location = new System.Drawing.Point(101, 408);
|
|
this.tbMailBody.Multiline = true;
|
|
this.tbMailBody.Name = "tbMailBody";
|
|
this.tbMailBody.Size = new System.Drawing.Size(268, 58);
|
|
this.tbMailBody.TabIndex = 19;
|
|
this.tbMailBody.Text = "测试邮件发送";
|
|
//
|
|
// label8
|
|
//
|
|
this.label8.AutoSize = true;
|
|
this.label8.Location = new System.Drawing.Point(36, 415);
|
|
this.label8.Name = "label8";
|
|
this.label8.Size = new System.Drawing.Size(53, 12);
|
|
this.label8.TabIndex = 18;
|
|
this.label8.Text = "邮件内容";
|
|
//
|
|
// FormMail
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(492, 560);
|
|
this.Controls.Add(this.tbMailBody);
|
|
this.Controls.Add(this.label8);
|
|
this.Controls.Add(this.tbMailSubject);
|
|
this.Controls.Add(this.label7);
|
|
this.Controls.Add(this.groupBox1);
|
|
this.Controls.Add(this.chkReceipt);
|
|
this.Controls.Add(this.button1);
|
|
this.Controls.Add(this.tbMailTo);
|
|
this.Controls.Add(this.label6);
|
|
this.Controls.Add(this.tbFrom);
|
|
this.Controls.Add(this.label5);
|
|
this.Controls.Add(this.tbPassword);
|
|
this.Controls.Add(this.label4);
|
|
this.Controls.Add(this.tbUserName);
|
|
this.Controls.Add(this.label3);
|
|
this.Controls.Add(this.chkSSL);
|
|
this.Controls.Add(this.tbPort);
|
|
this.Controls.Add(this.label2);
|
|
this.Controls.Add(this.tbServer);
|
|
this.Controls.Add(this.label1);
|
|
this.Name = "FormMail";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "邮件发送";
|
|
this.groupBox1.ResumeLayout(false);
|
|
this.groupBox1.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.TextBox tbServer;
|
|
private System.Windows.Forms.TextBox tbPort;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.CheckBox chkSSL;
|
|
private System.Windows.Forms.TextBox tbUserName;
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.TextBox tbPassword;
|
|
private System.Windows.Forms.Label label4;
|
|
private System.Windows.Forms.TextBox tbFrom;
|
|
private System.Windows.Forms.Label label5;
|
|
private System.Windows.Forms.TextBox tbMailTo;
|
|
private System.Windows.Forms.Label label6;
|
|
private System.Windows.Forms.Button button1;
|
|
private System.Windows.Forms.CheckBox chkReceipt;
|
|
private System.Windows.Forms.GroupBox groupBox1;
|
|
private System.Windows.Forms.Button button2;
|
|
private System.Windows.Forms.TextBox textBox1;
|
|
private System.Windows.Forms.TextBox tbMailSubject;
|
|
private System.Windows.Forms.Label label7;
|
|
private System.Windows.Forms.TextBox tbMailBody;
|
|
private System.Windows.Forms.Label label8;
|
|
}
|
|
} |