/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.smtp1 = new CleverComponents.InetSuite.Smtp(); this.mailMessage1 = new CleverComponents.InetSuite.MailMessage(); ((System.ComponentModel.ISupportInitialize)(this.mailMessage1)).BeginInit(); // // smtp1 // this.smtp1.Port = 25; // // mailMessage1 // this.mailMessage1.Date = new System.DateTime(2006, 5, 8, 16, 47, 44, 46); ((System.ComponentModel.ISupportInitialize)(this.mailMessage1)).EndInit(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.cbUseTLS = new System.Windows.Forms.CheckBox(); this.edtPort = new System.Windows.Forms.TextBox(); this.label4 = new System.Windows.Forms.Label(); this.edtPassword = new System.Windows.Forms.TextBox(); this.edtUser = new System.Windows.Forms.TextBox(); this.edtServer = new System.Windows.Forms.TextBox(); this.label3 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.memBody = new System.Windows.Forms.TextBox(); this.edtSubject = new System.Windows.Forms.TextBox(); this.label8 = new System.Windows.Forms.Label(); this.edtFrom = new System.Windows.Forms.TextBox(); this.label7 = new System.Windows.Forms.Label(); this.edtTo = new System.Windows.Forms.TextBox(); this.label5 = new System.Windows.Forms.Label(); this.btnSend = new System.Windows.Forms.Button(); this.smtp1 = new CleverComponents.InetSuite.Smtp(); this.mailMessage1 = new CleverComponents.InetSuite.MailMessage(); ((System.ComponentModel.ISupportInitialize)(this.smtp1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.mailMessage1)).BeginInit(); this.SuspendLayout(); // // cbUseTLS // this.cbUseTLS.Checked = true; this.cbUseTLS.CheckState = System.Windows.Forms.CheckState.Checked; this.cbUseTLS.Location = new System.Drawing.Point(312, 38); this.cbUseTLS.Name = "cbUseTLS"; this.cbUseTLS.Size = new System.Drawing.Size(104, 17); this.cbUseTLS.TabIndex = 3; this.cbUseTLS.Text = "Use SSL / TLS"; // // edtPort // this.edtPort.Location = new System.Drawing.Point(70, 35); this.edtPort.Name = "edtPort"; this.edtPort.Size = new System.Drawing.Size(48, 20); this.edtPort.TabIndex = 2; this.edtPort.Text = "25"; // // label4 // this.label4.Location = new System.Drawing.Point(16, 39); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(48, 16); this.label4.TabIndex = 21; this.label4.Text = "Port"; // // edtPassword // this.edtPassword.Location = new System.Drawing.Point(296, 64); this.edtPassword.Name = "edtPassword"; this.edtPassword.PasswordChar = '*'; this.edtPassword.Size = new System.Drawing.Size(120, 20); this.edtPassword.TabIndex = 5; this.edtPassword.Text = "clevertester"; // // edtUser // this.edtUser.Location = new System.Drawing.Point(70, 63); this.edtUser.Name = "edtUser"; this.edtUser.Size = new System.Drawing.Size(100, 20); this.edtUser.TabIndex = 4; this.edtUser.Text = "CleverTester"; // // edtServer // this.edtServer.Location = new System.Drawing.Point(70, 8); this.edtServer.Name = "edtServer"; this.edtServer.Size = new System.Drawing.Size(346, 20); this.edtServer.TabIndex = 1; this.edtServer.Text = "localhost"; // // label3 // this.label3.Location = new System.Drawing.Point(236, 67); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(54, 16); this.label3.TabIndex = 20; this.label3.Text = "Password"; // // label2 // this.label2.Location = new System.Drawing.Point(16, 67); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(40, 16); this.label2.TabIndex = 19; this.label2.Text = "User"; // // label1 // this.label1.Location = new System.Drawing.Point(16, 11); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(48, 16); this.label1.TabIndex = 18; this.label1.Text = "Server"; // // memBody // this.memBody.Location = new System.Drawing.Point(16, 184); this.memBody.Multiline = true; this.memBody.Name = "memBody"; this.memBody.ScrollBars = System.Windows.Forms.ScrollBars.Both; this.memBody.Size = new System.Drawing.Size(400, 112); this.memBody.TabIndex = 9; this.memBody.Text = resources.GetString("memBody.Text"); // // edtSubject // this.edtSubject.Location = new System.Drawing.Point(70, 157); this.edtSubject.Name = "edtSubject"; this.edtSubject.Size = new System.Drawing.Size(346, 20); this.edtSubject.TabIndex = 8; this.edtSubject.Text = "ABC Company: New Catalog"; // // label8 // this.label8.Location = new System.Drawing.Point(16, 134); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(48, 13); this.label8.TabIndex = 39; this.label8.Text = "To"; // // edtFrom // this.edtFrom.Location = new System.Drawing.Point(70, 105); this.edtFrom.Name = "edtFrom"; this.edtFrom.Size = new System.Drawing.Size(346, 20); this.edtFrom.TabIndex = 6; this.edtFrom.Text = "*****@*****.**"; // // label7 // this.label7.Location = new System.Drawing.Point(16, 108); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(48, 16); this.label7.TabIndex = 38; this.label7.Text = "From"; // // edtTo // this.edtTo.Location = new System.Drawing.Point(70, 131); this.edtTo.Name = "edtTo"; this.edtTo.Size = new System.Drawing.Size(346, 20); this.edtTo.TabIndex = 7; this.edtTo.Text = "*****@*****.**"; // // label5 // this.label5.Location = new System.Drawing.Point(16, 160); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(48, 15); this.label5.TabIndex = 41; this.label5.Text = "Subject"; // // btnSend // this.btnSend.Location = new System.Drawing.Point(272, 312); this.btnSend.Name = "btnSend"; this.btnSend.Size = new System.Drawing.Size(144, 23); this.btnSend.TabIndex = 10; this.btnSend.Text = "Send"; this.btnSend.Click += new System.EventHandler(this.btnSend_Click); // // smtp1 // this.smtp1.VerifyServer += new CleverComponents.InetSuite.VerifyPeerEventHandler(this.smtp1_VerifyServer); // // mailMessage1 // this.mailMessage1.Date = new System.DateTime(2007, 1, 10, 23, 13, 23, 984); this.mailMessage1.From.Email = ""; this.mailMessage1.From.Name = ""; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(434, 344); this.Controls.Add(this.btnSend); this.Controls.Add(this.label5); this.Controls.Add(this.edtTo); this.Controls.Add(this.memBody); this.Controls.Add(this.edtSubject); this.Controls.Add(this.label8); this.Controls.Add(this.edtFrom); this.Controls.Add(this.label7); this.Controls.Add(this.cbUseTLS); this.Controls.Add(this.edtPort); this.Controls.Add(this.label4); this.Controls.Add(this.edtPassword); this.Controls.Add(this.edtUser); this.Controls.Add(this.edtServer); this.Controls.Add(this.label3); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.Name = "Form1"; this.Text = "SMTP Client with SSL / TLS support"; ((System.ComponentModel.ISupportInitialize)(this.smtp1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.mailMessage1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <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.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.edtPop3Server = new System.Windows.Forms.TextBox(); this.edtUser = new System.Windows.Forms.TextBox(); this.edtPassword = new System.Windows.Forms.TextBox(); this.edtSmtpServer = new System.Windows.Forms.TextBox(); this.btnComposeMail = new System.Windows.Forms.Button(); this.btnCheckMail = new System.Windows.Forms.Button(); this.lbMessages = new System.Windows.Forms.ListBox(); this.pop31 = new CleverComponents.InetSuite.Pop3(); this.smtp1 = new CleverComponents.InetSuite.Smtp(); this.mailMessage1 = new CleverComponents.InetSuite.MailMessage(); ((System.ComponentModel.ISupportInitialize)(this.pop31)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.smtp1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.mailMessage1)).BeginInit(); this.SuspendLayout(); // // label1 // this.label1.Location = new System.Drawing.Point(16, 19); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(64, 16); this.label1.TabIndex = 0; this.label1.Text = "POP server"; // // label2 // this.label2.Location = new System.Drawing.Point(16, 67); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(64, 16); this.label2.TabIndex = 1; this.label2.Text = "User"; // // label3 // this.label3.Location = new System.Drawing.Point(16, 91); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(64, 16); this.label3.TabIndex = 2; this.label3.Text = "Password"; // // label4 // this.label4.Location = new System.Drawing.Point(16, 43); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(72, 16); this.label4.TabIndex = 3; this.label4.Text = "SMTP server"; // // label6 // this.label6.Location = new System.Drawing.Point(16, 152); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(168, 16); this.label6.TabIndex = 5; this.label6.Text = "Messages. Double click to view"; // // edtPop3Server // this.edtPop3Server.Location = new System.Drawing.Point(94, 16); this.edtPop3Server.Name = "edtPop3Server"; this.edtPop3Server.Size = new System.Drawing.Size(282, 20); this.edtPop3Server.TabIndex = 1; this.edtPop3Server.Text = "pop.domain.com"; // // edtUser // this.edtUser.Location = new System.Drawing.Point(94, 64); this.edtUser.Name = "edtUser"; this.edtUser.Size = new System.Drawing.Size(282, 20); this.edtUser.TabIndex = 3; this.edtUser.Text = "user"; // // edtPassword // this.edtPassword.Location = new System.Drawing.Point(94, 88); this.edtPassword.Name = "edtPassword"; this.edtPassword.PasswordChar = '*'; this.edtPassword.Size = new System.Drawing.Size(282, 20); this.edtPassword.TabIndex = 4; this.edtPassword.Text = "password"; // // edtSmtpServer // this.edtSmtpServer.Location = new System.Drawing.Point(94, 40); this.edtSmtpServer.Name = "edtSmtpServer"; this.edtSmtpServer.Size = new System.Drawing.Size(282, 20); this.edtSmtpServer.TabIndex = 2; this.edtSmtpServer.Text = "smtp.domain.com"; // // btnComposeMail // this.btnComposeMail.Location = new System.Drawing.Point(213, 120); this.btnComposeMail.Name = "btnComposeMail"; this.btnComposeMail.Size = new System.Drawing.Size(104, 20); this.btnComposeMail.TabIndex = 6; this.btnComposeMail.Text = "Compose Mail"; this.btnComposeMail.Click += new System.EventHandler(this.btnComposeMail_Click); // // btnCheckMail // this.btnCheckMail.Location = new System.Drawing.Point(94, 120); this.btnCheckMail.Name = "btnCheckMail"; this.btnCheckMail.Size = new System.Drawing.Size(104, 20); this.btnCheckMail.TabIndex = 5; this.btnCheckMail.Text = "Check Mail"; this.btnCheckMail.Click += new System.EventHandler(this.btnCheckMail_Click); // // lbMessages // this.lbMessages.Location = new System.Drawing.Point(16, 168); this.lbMessages.Name = "lbMessages"; this.lbMessages.Size = new System.Drawing.Size(360, 147); this.lbMessages.TabIndex = 7; this.lbMessages.DoubleClick += new System.EventHandler(this.lbMessages_DoubleClick); // // mailMessage1 // this.mailMessage1.Date = new System.DateTime(2006, 5, 4, 23, 33, 9, 265); // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(394, 326); this.Controls.Add(this.lbMessages); this.Controls.Add(this.btnCheckMail); this.Controls.Add(this.btnComposeMail); this.Controls.Add(this.edtSmtpServer); this.Controls.Add(this.edtPassword); this.Controls.Add(this.edtUser); this.Controls.Add(this.edtPop3Server); this.Controls.Add(this.label6); this.Controls.Add(this.label4); this.Controls.Add(this.label3); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.Name = "Form1"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "SMTP / POP3 client demo"; ((System.ComponentModel.ISupportInitialize)(this.pop31)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.smtp1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.mailMessage1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.memBody = new System.Windows.Forms.TextBox(); this.edtSubject = new System.Windows.Forms.TextBox(); this.label8 = new System.Windows.Forms.Label(); this.edtFrom = new System.Windows.Forms.TextBox(); this.label7 = new System.Windows.Forms.Label(); this.edtTo = new System.Windows.Forms.TextBox(); this.label5 = new System.Windows.Forms.Label(); this.btnSend = new System.Windows.Forms.Button(); this.smtp1 = new CleverComponents.InetSuite.Smtp(); this.mailMessage1 = new CleverComponents.InetSuite.MailMessage(); this.oAuth1 = new CleverComponents.InetSuite.OAuth(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); ((System.ComponentModel.ISupportInitialize)(this.smtp1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.mailMessage1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.SuspendLayout(); // // memBody // this.memBody.Location = new System.Drawing.Point(13, 175); this.memBody.Multiline = true; this.memBody.Name = "memBody"; this.memBody.ScrollBars = System.Windows.Forms.ScrollBars.Both; this.memBody.Size = new System.Drawing.Size(593, 176); this.memBody.TabIndex = 9; this.memBody.Text = resources.GetString("memBody.Text"); // // edtSubject // this.edtSubject.Location = new System.Drawing.Point(64, 145); this.edtSubject.Name = "edtSubject"; this.edtSubject.Size = new System.Drawing.Size(542, 20); this.edtSubject.TabIndex = 8; this.edtSubject.Text = "ABC Company: New Catalog"; // // label8 // this.label8.Location = new System.Drawing.Point(10, 120); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(48, 13); this.label8.TabIndex = 39; this.label8.Text = "To"; // // edtFrom // this.edtFrom.Location = new System.Drawing.Point(64, 89); this.edtFrom.Name = "edtFrom"; this.edtFrom.Size = new System.Drawing.Size(542, 20); this.edtFrom.TabIndex = 6; this.edtFrom.Text = "*****@*****.**"; // // label7 // this.label7.Location = new System.Drawing.Point(10, 92); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(48, 16); this.label7.TabIndex = 38; this.label7.Text = "From"; // // edtTo // this.edtTo.Location = new System.Drawing.Point(64, 117); this.edtTo.Name = "edtTo"; this.edtTo.Size = new System.Drawing.Size(542, 20); this.edtTo.TabIndex = 7; this.edtTo.Text = "*****@*****.**"; // // label5 // this.label5.Location = new System.Drawing.Point(10, 148); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(48, 15); this.label5.TabIndex = 41; this.label5.Text = "Subject"; // // btnSend // this.btnSend.Location = new System.Drawing.Point(477, 360); this.btnSend.Name = "btnSend"; this.btnSend.Size = new System.Drawing.Size(129, 28); this.btnSend.TabIndex = 10; this.btnSend.Text = "Send"; this.btnSend.Click += new System.EventHandler(this.btnSend_Click); // // mailMessage1 // this.mailMessage1.Date = new System.DateTime(2007, 1, 10, 23, 13, 23, 984); this.mailMessage1.From.Email = ""; this.mailMessage1.From.Name = ""; // // oAuth1 // this.oAuth1.AuthUrl = null; this.oAuth1.ClientID = null; this.oAuth1.ClientSecret = null; this.oAuth1.Password = null; this.oAuth1.RedirectUrl = null; this.oAuth1.Scope = null; this.oAuth1.State = null; this.oAuth1.TokenUrl = null; this.oAuth1.UserName = null; // // pictureBox1 // this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Top; this.pictureBox1.Image = global::GMailSMTP.Properties.Resources.background_net; this.pictureBox1.Location = new System.Drawing.Point(0, 0); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(618, 78); this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage; this.pictureBox1.TabIndex = 42; this.pictureBox1.TabStop = false; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(618, 394); this.Controls.Add(this.pictureBox1); this.Controls.Add(this.btnSend); this.Controls.Add(this.label5); this.Controls.Add(this.edtTo); this.Controls.Add(this.memBody); this.Controls.Add(this.edtSubject); this.Controls.Add(this.label8); this.Controls.Add(this.edtFrom); this.Controls.Add(this.label7); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.Name = "Form1"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "GMAIL SMTP client with OAuth - Sample"; ((System.ComponentModel.ISupportInitialize)(this.smtp1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.mailMessage1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <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.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.lblProgress = new System.Windows.Forms.Label(); this.edtServer = new System.Windows.Forms.TextBox(); this.edtUser = new System.Windows.Forms.TextBox(); this.edtPassword = new System.Windows.Forms.TextBox(); this.edtFrom = new System.Windows.Forms.TextBox(); this.edtTo = new System.Windows.Forms.TextBox(); this.memBody = new System.Windows.Forms.TextBox(); this.edtAttachment = new System.Windows.Forms.TextBox(); this.btnBrowse = new System.Windows.Forms.Button(); this.btnSend = new System.Windows.Forms.Button(); this.btnReceive = new System.Windows.Forms.Button(); this.btnStop = new System.Windows.Forms.Button(); this.progressBar1 = new System.Windows.Forms.ProgressBar(); this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); this.pop31 = new CleverComponents.InetSuite.Pop3(); this.smtp1 = new CleverComponents.InetSuite.Smtp(); this.mailMessage1 = new CleverComponents.InetSuite.MailMessage(); ((System.ComponentModel.ISupportInitialize)(this.pop31)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.smtp1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.mailMessage1)).BeginInit(); this.SuspendLayout(); // // label1 // this.label1.Location = new System.Drawing.Point(16, 19); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(64, 16); this.label1.TabIndex = 0; this.label1.Text = "Server"; // // label2 // this.label2.Location = new System.Drawing.Point(16, 43); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(64, 16); this.label2.TabIndex = 1; this.label2.Text = "User"; // // label3 // this.label3.Location = new System.Drawing.Point(16, 67); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(64, 16); this.label3.TabIndex = 2; this.label3.Text = "Password"; // // label4 // this.label4.Location = new System.Drawing.Point(16, 91); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(64, 16); this.label4.TabIndex = 3; this.label4.Text = "From"; // // label5 // this.label5.Location = new System.Drawing.Point(16, 115); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(48, 16); this.label5.TabIndex = 4; this.label5.Text = "To"; // // label6 // this.label6.Location = new System.Drawing.Point(16, 136); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(56, 16); this.label6.TabIndex = 5; this.label6.Text = "Message"; // // label7 // this.label7.Location = new System.Drawing.Point(16, 235); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(64, 17); this.label7.TabIndex = 6; this.label7.Text = "Attachment"; // // lblProgress // this.lblProgress.Location = new System.Drawing.Point(16, 296); this.lblProgress.Name = "lblProgress"; this.lblProgress.Size = new System.Drawing.Size(48, 16); this.lblProgress.TabIndex = 7; this.lblProgress.Text = "%"; // // edtServer // this.edtServer.Location = new System.Drawing.Point(80, 16); this.edtServer.Name = "edtServer"; this.edtServer.Size = new System.Drawing.Size(272, 20); this.edtServer.TabIndex = 8; this.edtServer.Text = "localhost"; // // edtUser // this.edtUser.Location = new System.Drawing.Point(80, 40); this.edtUser.Name = "edtUser"; this.edtUser.Size = new System.Drawing.Size(120, 20); this.edtUser.TabIndex = 9; this.edtUser.Text = "CleverTester"; // // edtPassword // this.edtPassword.Location = new System.Drawing.Point(80, 64); this.edtPassword.Name = "edtPassword"; this.edtPassword.PasswordChar = '*'; this.edtPassword.Size = new System.Drawing.Size(120, 20); this.edtPassword.TabIndex = 10; this.edtPassword.Text = "clevertester"; // // edtFrom // this.edtFrom.Location = new System.Drawing.Point(80, 88); this.edtFrom.Name = "edtFrom"; this.edtFrom.Size = new System.Drawing.Size(272, 20); this.edtFrom.TabIndex = 11; this.edtFrom.Text = "*****@*****.**"; // // edtTo // this.edtTo.Location = new System.Drawing.Point(80, 112); this.edtTo.Name = "edtTo"; this.edtTo.Size = new System.Drawing.Size(272, 20); this.edtTo.TabIndex = 12; this.edtTo.Text = "*****@*****.**"; // // memBody // this.memBody.Location = new System.Drawing.Point(80, 136); this.memBody.Multiline = true; this.memBody.Name = "memBody"; this.memBody.ScrollBars = System.Windows.Forms.ScrollBars.Both; this.memBody.Size = new System.Drawing.Size(272, 88); this.memBody.TabIndex = 13; this.memBody.Text = "Message text follows here"; // // edtAttachment // this.edtAttachment.Location = new System.Drawing.Point(80, 232); this.edtAttachment.Name = "edtAttachment"; this.edtAttachment.Size = new System.Drawing.Size(232, 20); this.edtAttachment.TabIndex = 14; // // btnBrowse // this.btnBrowse.Location = new System.Drawing.Point(320, 232); this.btnBrowse.Name = "btnBrowse"; this.btnBrowse.Size = new System.Drawing.Size(32, 23); this.btnBrowse.TabIndex = 15; this.btnBrowse.Text = "..."; this.btnBrowse.Click += new System.EventHandler(this.btnBrowse_Click); // // btnSend // this.btnSend.Location = new System.Drawing.Point(80, 264); this.btnSend.Name = "btnSend"; this.btnSend.Size = new System.Drawing.Size(75, 23); this.btnSend.TabIndex = 16; this.btnSend.Text = "Send"; this.btnSend.Click += new System.EventHandler(this.btnSend_Click); // // btnReceive // this.btnReceive.Location = new System.Drawing.Point(176, 264); this.btnReceive.Name = "btnReceive"; this.btnReceive.Size = new System.Drawing.Size(75, 23); this.btnReceive.TabIndex = 17; this.btnReceive.Text = "Receive"; this.btnReceive.Click += new System.EventHandler(this.btnReceive_Click); // // btnStop // this.btnStop.Location = new System.Drawing.Point(277, 264); this.btnStop.Name = "btnStop"; this.btnStop.Size = new System.Drawing.Size(75, 23); this.btnStop.TabIndex = 18; this.btnStop.Text = "Stop"; this.btnStop.Click += new System.EventHandler(this.btnStop_Click); // // progressBar1 // this.progressBar1.Location = new System.Drawing.Point(64, 296); this.progressBar1.Name = "progressBar1"; this.progressBar1.Size = new System.Drawing.Size(288, 16); this.progressBar1.TabIndex = 19; // // pop31 // this.pop31.Progress += new CleverComponents.InetSuite.ProgressEventHandler(this.pop31_Progress); // // smtp1 // this.smtp1.Progress += new CleverComponents.InetSuite.ProgressEventHandler(this.smtp1_Progress); // // mailMessage1 // this.mailMessage1.Date = new System.DateTime(2006, 5, 4, 22, 40, 1, 608); this.mailMessage1.SaveAttachment += new CleverComponents.InetSuite.GetBodyStreamEventHandler(this.mailMessage1_SaveAttachment); // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(368, 326); this.Controls.Add(this.progressBar1); this.Controls.Add(this.btnStop); this.Controls.Add(this.btnReceive); this.Controls.Add(this.btnSend); this.Controls.Add(this.btnBrowse); this.Controls.Add(this.edtAttachment); this.Controls.Add(this.memBody); this.Controls.Add(this.edtTo); this.Controls.Add(this.edtFrom); this.Controls.Add(this.edtPassword); this.Controls.Add(this.edtUser); this.Controls.Add(this.edtServer); this.Controls.Add(this.lblProgress); this.Controls.Add(this.label7); this.Controls.Add(this.label6); this.Controls.Add(this.label5); this.Controls.Add(this.label4); this.Controls.Add(this.label3); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.Name = "Form1"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Mail Send / Receive Progress"; ((System.ComponentModel.ISupportInitialize)(this.pop31)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.smtp1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.mailMessage1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.edtPort = new System.Windows.Forms.TextBox(); this.label4 = new System.Windows.Forms.Label(); this.edtPassword = new System.Windows.Forms.TextBox(); this.edtUser = new System.Windows.Forms.TextBox(); this.edtServer = new System.Windows.Forms.TextBox(); this.label3 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.memBody = new System.Windows.Forms.TextBox(); this.edtSubject = new System.Windows.Forms.TextBox(); this.label8 = new System.Windows.Forms.Label(); this.edtFrom = new System.Windows.Forms.TextBox(); this.label7 = new System.Windows.Forms.Label(); this.edtTo = new System.Windows.Forms.TextBox(); this.label5 = new System.Windows.Forms.Label(); this.btnSend = new System.Windows.Forms.Button(); this.smtp1 = new CleverComponents.InetSuite.Smtp(); this.mailMessage1 = new CleverComponents.InetSuite.MailMessage(); this.edtProxyPort = new System.Windows.Forms.TextBox(); this.label6 = new System.Windows.Forms.Label(); this.edtProxyServer = new System.Windows.Forms.TextBox(); this.label9 = new System.Windows.Forms.Label(); this.httpProxy1 = new CleverComponents.InetSuite.HttpProxy(); ((System.ComponentModel.ISupportInitialize)(this.smtp1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.mailMessage1)).BeginInit(); this.SuspendLayout(); // // edtPort // this.edtPort.Location = new System.Drawing.Point(80, 34); this.edtPort.Name = "edtPort"; this.edtPort.Size = new System.Drawing.Size(48, 20); this.edtPort.TabIndex = 2; this.edtPort.Text = "25"; // // label4 // this.label4.Location = new System.Drawing.Point(9, 37); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(48, 16); this.label4.TabIndex = 21; this.label4.Text = "Port"; // // edtPassword // this.edtPassword.Location = new System.Drawing.Point(80, 86); this.edtPassword.Name = "edtPassword"; this.edtPassword.PasswordChar = '*'; this.edtPassword.Size = new System.Drawing.Size(182, 20); this.edtPassword.TabIndex = 5; this.edtPassword.Text = "clevertester"; // // edtUser // this.edtUser.Location = new System.Drawing.Point(80, 60); this.edtUser.Name = "edtUser"; this.edtUser.Size = new System.Drawing.Size(182, 20); this.edtUser.TabIndex = 4; this.edtUser.Text = "CleverTester"; // // edtServer // this.edtServer.Location = new System.Drawing.Point(80, 8); this.edtServer.Name = "edtServer"; this.edtServer.Size = new System.Drawing.Size(209, 20); this.edtServer.TabIndex = 1; this.edtServer.Text = "smpt.example.com"; // // label3 // this.label3.Location = new System.Drawing.Point(9, 89); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(54, 16); this.label3.TabIndex = 20; this.label3.Text = "Password"; // // label2 // this.label2.Location = new System.Drawing.Point(9, 63); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(40, 16); this.label2.TabIndex = 19; this.label2.Text = "User"; // // label1 // this.label1.Location = new System.Drawing.Point(9, 11); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(63, 16); this.label1.TabIndex = 18; this.label1.Text = "SMTP Host"; // // memBody // this.memBody.Location = new System.Drawing.Point(12, 206); this.memBody.Multiline = true; this.memBody.Name = "memBody"; this.memBody.ScrollBars = System.Windows.Forms.ScrollBars.Both; this.memBody.Size = new System.Drawing.Size(584, 165); this.memBody.TabIndex = 9; this.memBody.Text = resources.GetString("memBody.Text"); // // edtSubject // this.edtSubject.Location = new System.Drawing.Point(80, 180); this.edtSubject.Name = "edtSubject"; this.edtSubject.Size = new System.Drawing.Size(516, 20); this.edtSubject.TabIndex = 8; this.edtSubject.Text = "ABC Company: New Catalog"; // // label8 // this.label8.Location = new System.Drawing.Point(9, 157); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(48, 13); this.label8.TabIndex = 39; this.label8.Text = "To"; // // edtFrom // this.edtFrom.Location = new System.Drawing.Point(80, 128); this.edtFrom.Name = "edtFrom"; this.edtFrom.Size = new System.Drawing.Size(516, 20); this.edtFrom.TabIndex = 6; this.edtFrom.Text = "*****@*****.**"; // // label7 // this.label7.Location = new System.Drawing.Point(9, 131); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(48, 16); this.label7.TabIndex = 38; this.label7.Text = "From"; // // edtTo // this.edtTo.Location = new System.Drawing.Point(80, 154); this.edtTo.Name = "edtTo"; this.edtTo.Size = new System.Drawing.Size(516, 20); this.edtTo.TabIndex = 7; this.edtTo.Text = "*****@*****.**"; // // label5 // this.label5.Location = new System.Drawing.Point(9, 183); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(48, 15); this.label5.TabIndex = 41; this.label5.Text = "Subject"; // // btnSend // this.btnSend.Location = new System.Drawing.Point(479, 387); this.btnSend.Name = "btnSend"; this.btnSend.Size = new System.Drawing.Size(117, 23); this.btnSend.TabIndex = 10; this.btnSend.Text = "Send"; this.btnSend.Click += new System.EventHandler(this.btnSend_Click); // // mailMessage1 // this.mailMessage1.Date = new System.DateTime(2007, 1, 10, 23, 13, 23, 984); this.mailMessage1.From.Email = ""; this.mailMessage1.From.Name = ""; // // edtProxyPort // this.edtProxyPort.Location = new System.Drawing.Point(387, 34); this.edtProxyPort.Name = "edtProxyPort"; this.edtProxyPort.Size = new System.Drawing.Size(48, 20); this.edtProxyPort.TabIndex = 43; this.edtProxyPort.Text = "8080"; // // label6 // this.label6.Location = new System.Drawing.Point(316, 37); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(48, 16); this.label6.TabIndex = 45; this.label6.Text = "Port"; // // edtProxyServer // this.edtProxyServer.Location = new System.Drawing.Point(387, 8); this.edtProxyServer.Name = "edtProxyServer"; this.edtProxyServer.Size = new System.Drawing.Size(209, 20); this.edtProxyServer.TabIndex = 42; this.edtProxyServer.Text = "proxy"; // // label9 // this.label9.Location = new System.Drawing.Point(316, 11); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(63, 16); this.label9.TabIndex = 44; this.label9.Text = "Proxy Host"; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(609, 422); this.Controls.Add(this.edtProxyPort); this.Controls.Add(this.label6); this.Controls.Add(this.edtProxyServer); this.Controls.Add(this.label9); this.Controls.Add(this.btnSend); this.Controls.Add(this.label5); this.Controls.Add(this.edtTo); this.Controls.Add(this.memBody); this.Controls.Add(this.edtSubject); this.Controls.Add(this.label8); this.Controls.Add(this.edtFrom); this.Controls.Add(this.label7); this.Controls.Add(this.edtPort); this.Controls.Add(this.label4); this.Controls.Add(this.edtPassword); this.Controls.Add(this.edtUser); this.Controls.Add(this.edtServer); this.Controls.Add(this.label3); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.Name = "Form1"; this.Text = "SMTP Client over HTTP Connect Proxy"; ((System.ComponentModel.ISupportInitialize)(this.smtp1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.mailMessage1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }