using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Drawing; using System.Web; using System.Web.SessionState; using System.Web.UI; using System.Web.UI.WebControls Using system.Web.ui.htmlcontrols; using system.web.mail;
namespace PWDGet {///
Mail.from = strfromman; mail.to = startoman;
Mail.subject = "ASC Wines Password Assistance";
Mail.Body = "
message body> html>"; mail.bodyformat = mailformat.html; mail.fields.add ("http://schemas.microsoft.com/ CDO / Configuration / SMTPAUTHENTICATE "," 1 "); mail.fields.add (" http://schemas.microsoft.com/cdo/configuration/sendusername "," test "); // Here you fill in the username of your mailbox Mail.fields.add ("http://schemas.microsoft.com/cdo/configuration/sendpassword", "ssbgroup"); // your mailbox passwordSMTPMAIL.SMTPSERVER = "mail.ssbg.com.cn"; // Mail Server SMTPMAIL.SEND (MAIL);
//Response.write ("succeed! ... ");} catch {this.panelaror.visible = true; this.PanelMessage.Visible = false;}}}
#Region Web Form Designer generated code override protected void oninit (Eventargs e) {//// Codegen: this call is required by the asp.net web form designer. // initializecomponent (); base.onit (e);} / //