/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { CleverComponents.InetSuite.MailUserAccountItem mailUserAccountItem1 = new CleverComponents.InetSuite.MailUserAccountItem(); this.memLog = new System.Windows.Forms.TextBox(); this.label5 = new System.Windows.Forms.Label(); this.btnStop = new System.Windows.Forms.Button(); this.btnStart = new System.Windows.Forms.Button(); this.edtRootDir = new System.Windows.Forms.TextBox(); this.label4 = new System.Windows.Forms.Label(); this.edtPort = 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.imap4Server1 = new CleverComponents.InetSuite.Imap4Server(); this.imap4FileHandler1 = new CleverComponents.InetSuite.Imap4FileHandler(); this.SuspendLayout(); // // memLog // this.memLog.Location = new System.Drawing.Point(0, 192); this.memLog.Multiline = true; this.memLog.Name = "memLog"; this.memLog.ReadOnly = true; this.memLog.ScrollBars = System.Windows.Forms.ScrollBars.Both; this.memLog.Size = new System.Drawing.Size(440, 136); this.memLog.TabIndex = 19; // // label5 // this.label5.Location = new System.Drawing.Point(16, 168); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(48, 23); this.label5.TabIndex = 18; this.label5.Text = "Log"; // // btnStop // this.btnStop.Location = new System.Drawing.Point(176, 144); this.btnStop.Name = "btnStop"; this.btnStop.Size = new System.Drawing.Size(75, 23); this.btnStop.TabIndex = 17; this.btnStop.Text = "Stop"; this.btnStop.Click += new System.EventHandler(this.btnStop_Click); // // btnStart // this.btnStart.Location = new System.Drawing.Point(80, 144); this.btnStart.Name = "btnStart"; this.btnStart.Size = new System.Drawing.Size(75, 23); this.btnStart.TabIndex = 16; this.btnStart.Text = "Start"; this.btnStart.Click += new System.EventHandler(this.btnStart_Click); // // edtRootDir // this.edtRootDir.Location = new System.Drawing.Point(80, 112); this.edtRootDir.Name = "edtRootDir"; this.edtRootDir.Size = new System.Drawing.Size(336, 20); this.edtRootDir.TabIndex = 15; this.edtRootDir.Text = "C:\\CleverMailBox\\"; // // label4 // this.label4.Location = new System.Drawing.Point(16, 112); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(56, 23); this.label4.TabIndex = 14; this.label4.Text = "Root Dir"; // // edtPort // this.edtPort.Location = new System.Drawing.Point(80, 80); this.edtPort.Name = "edtPort"; this.edtPort.Size = new System.Drawing.Size(168, 20); this.edtPort.TabIndex = 13; this.edtPort.Text = "143"; // // label3 // this.label3.Location = new System.Drawing.Point(16, 80); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(32, 23); this.label3.TabIndex = 12; this.label3.Text = "Port"; // // label2 // this.label2.Location = new System.Drawing.Point(16, 48); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(408, 23); this.label2.TabIndex = 11; this.label2.Text = "Please use the \"CleverTester\" user name and \"clevertester\" password to log-in."; // // label1 // this.label1.Location = new System.Drawing.Point(16, 11); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(416, 29); this.label1.TabIndex = 10; this.label1.Text = "This is a sample IMAP server. You can use any mail client with IMAP support to co" + "nnect to this server."; // // imap4Server1 // this.imap4Server1.Port = 143; this.imap4Server1.ServerName = "Clever Internet Suite IMAP4 service"; mailUserAccountItem1.DisplayName = ""; mailUserAccountItem1.Password = "******"; mailUserAccountItem1.UserName = "******"; this.imap4Server1.UserAccounts.AddRange(new CleverComponents.InetSuite.UserAccountItem[] { mailUserAccountItem1 }); this.imap4Server1.Started += new System.EventHandler(this.imap4Server1_Started); this.imap4Server1.ConnectionClosed += new CleverComponents.InetSuite.ConnectionEventHandler(this.imap4Server1_ConnectionClosed); this.imap4Server1.CommandReceived += new CleverComponents.InetSuite.TcpCommandEventHandler(this.imap4Server1_CommandReceived); this.imap4Server1.ResponseSent += new CleverComponents.InetSuite.TcpResponseEventHandler(this.imap4Server1_ResponseSent); this.imap4Server1.ConnectionAccepted += new CleverComponents.InetSuite.ConnectionAcceptedEventHandler(this.imap4Server1_ConnectionAccepted); this.imap4Server1.Stopped += new System.EventHandler(this.imap4Server1_Stopped); this.imap4Server1.Authenticate += new CleverComponents.InetSuite.Imap4AuthenticateEventHandler(this.imap4Server1_Authenticate); // // imap4FileHandler1 // this.imap4FileHandler1.Server = this.imap4Server1; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(440, 326); this.Controls.Add(this.memLog); this.Controls.Add(this.label5); this.Controls.Add(this.btnStop); this.Controls.Add(this.btnStart); this.Controls.Add(this.edtRootDir); this.Controls.Add(this.label4); this.Controls.Add(this.edtPort); 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 = "Clever IMAP4 Server"; 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() { CleverComponents.InetSuite.MailUserAccountItem mailUserAccountItem1 = new CleverComponents.InetSuite.MailUserAccountItem(); this.memLog = new System.Windows.Forms.TextBox(); this.label5 = new System.Windows.Forms.Label(); this.btnStop = new System.Windows.Forms.Button(); this.btnStart = new System.Windows.Forms.Button(); this.edtRootDir = new System.Windows.Forms.TextBox(); this.label4 = new System.Windows.Forms.Label(); this.edtPort = 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.label6 = new System.Windows.Forms.Label(); this.cbUseTls = new System.Windows.Forms.ComboBox(); this.label7 = new System.Windows.Forms.Label(); this.certificateStore1 = new CleverComponents.InetSuite.CertificateStore(); this.imap4Server1 = new CleverComponents.InetSuite.Imap4Server(); this.imap4FileHandler1 = new CleverComponents.InetSuite.Imap4FileHandler(); this.SuspendLayout(); // // memLog // this.memLog.Location = new System.Drawing.Point(0, 256); this.memLog.Multiline = true; this.memLog.Name = "memLog"; this.memLog.ReadOnly = true; this.memLog.ScrollBars = System.Windows.Forms.ScrollBars.Both; this.memLog.Size = new System.Drawing.Size(440, 136); this.memLog.TabIndex = 19; // // label5 // this.label5.Location = new System.Drawing.Point(16, 224); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(48, 23); this.label5.TabIndex = 18; this.label5.Text = "Log"; // // btnStop // this.btnStop.Location = new System.Drawing.Point(161, 208); this.btnStop.Name = "btnStop"; this.btnStop.Size = new System.Drawing.Size(75, 23); this.btnStop.TabIndex = 17; this.btnStop.Text = "Stop"; this.btnStop.Click += new System.EventHandler(this.btnStop_Click); // // btnStart // this.btnStart.Location = new System.Drawing.Point(70, 208); this.btnStart.Name = "btnStart"; this.btnStart.Size = new System.Drawing.Size(75, 23); this.btnStart.TabIndex = 16; this.btnStart.Text = "Start"; this.btnStart.Click += new System.EventHandler(this.btnStart_Click); // // edtRootDir // this.edtRootDir.Location = new System.Drawing.Point(70, 176); this.edtRootDir.Name = "edtRootDir"; this.edtRootDir.Size = new System.Drawing.Size(346, 20); this.edtRootDir.TabIndex = 15; this.edtRootDir.Text = "C:\\CleverMailBox\\"; // // label4 // this.label4.Location = new System.Drawing.Point(16, 179); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(56, 16); this.label4.TabIndex = 14; this.label4.Text = "Root Dir"; // // edtPort // this.edtPort.Location = new System.Drawing.Point(70, 144); this.edtPort.Name = "edtPort"; this.edtPort.Size = new System.Drawing.Size(66, 20); this.edtPort.TabIndex = 13; this.edtPort.Text = "993"; // // label3 // this.label3.Location = new System.Drawing.Point(16, 148); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(28, 16); this.label3.TabIndex = 12; this.label3.Text = "Port"; // // label2 // this.label2.Location = new System.Drawing.Point(16, 112); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(408, 23); this.label2.TabIndex = 11; this.label2.Text = "Please use the \"CleverTester\" user name and \"clevertester\" password to log-in."; // // label1 // this.label1.Location = new System.Drawing.Point(16, 11); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(416, 37); this.label1.TabIndex = 10; this.label1.Text = "This is a sample IMAP4 SSL / TLS server. You can use any SSL-enabled IMAP client " + "(such as TclIMAP4 or MS Outlook client to connect to this server."; // // label6 // this.label6.Location = new System.Drawing.Point(16, 56); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(400, 48); this.label6.TabIndex = 20; this.label6.Text = "This server uses self-signed server certificate to establish the SSL connection. " + "In real application you will need to request a certificate from trusted issuer o" + "r use your own self-signed certificate."; // // cbUseTls // this.cbUseTls.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbUseTls.Items.AddRange(new object[] { "None", "Implicit", "Allow Explicit", "Require Explicit" }); this.cbUseTls.Location = new System.Drawing.Point(296, 144); this.cbUseTls.Name = "cbUseTls"; this.cbUseTls.Size = new System.Drawing.Size(121, 21); this.cbUseTls.TabIndex = 21; // // label7 // this.label7.Location = new System.Drawing.Point(200, 149); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(90, 15); this.label7.TabIndex = 22; this.label7.Text = "SSL / TLS Mode"; // // certificateStore1 // this.certificateStore1.ValidFrom = new System.DateTime(2008, 8, 17, 15, 5, 55, 46); this.certificateStore1.ValidTo = new System.DateTime(2009, 8, 17, 15, 5, 55, 46); // // imap4Server1 // mailUserAccountItem1.Password = "******"; mailUserAccountItem1.UserName = "******"; this.imap4Server1.UserAccounts.AddRange(new CleverComponents.InetSuite.UserAccountItem[] { mailUserAccountItem1 }); this.imap4Server1.Authenticate += new CleverComponents.InetSuite.Imap4AuthenticateEventHandler(this.imap4Server1_Authenticate); this.imap4Server1.CommandReceived += new CleverComponents.InetSuite.TcpCommandEventHandler(this.imap4Server1_CommandReceived); this.imap4Server1.ResponseSent += new CleverComponents.InetSuite.TcpResponseEventHandler(this.imap4Server1_ResponseSent); this.imap4Server1.GetCertificate += new CleverComponents.InetSuite.GetCertificateEventHandler(this.imap4Server1_GetCertificate); this.imap4Server1.Started += new System.EventHandler(this.imap4Server1_Started); this.imap4Server1.Stopped += new System.EventHandler(this.imap4Server1_Stopped); this.imap4Server1.ConnectionAccepted += new CleverComponents.InetSuite.ConnectionAcceptedEventHandler(this.imap4Server1_ConnectionAccepted); this.imap4Server1.ConnectionClosed += new CleverComponents.InetSuite.ConnectionEventHandler(this.imap4Server1_ConnectionClosed); // // imap4FileHandler1 // this.imap4FileHandler1.Server = this.imap4Server1; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(440, 392); this.Controls.Add(this.cbUseTls); this.Controls.Add(this.label7); this.Controls.Add(this.label6); this.Controls.Add(this.memLog); this.Controls.Add(this.label5); this.Controls.Add(this.btnStop); this.Controls.Add(this.btnStart); this.Controls.Add(this.edtRootDir); this.Controls.Add(this.label4); this.Controls.Add(this.edtPort); 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 = "Clever IMAP4 Server SSL / TLS"; this.ResumeLayout(false); this.PerformLayout(); }