mardi 25 janvier 2011

Send Mail on a quick way

here is a sending e-mail on a quick way

string strTo = "christophw@sleeper.Dev.AlfaSierraPapa.Com"; string strFrom = "webmaster@aspheute.com"; string strSubject = "Hi Chris";  SmtpMail.Send(strFrom, strTo, strSubject,   "A real nice body text here");  
Response.Write("Email was queued to disk");