How to Send e-mail from asp.net?
MailMessage mail = new MailMessage();
mail.To = "me@something.com";
mail.From = "you@anything.com";
mail.Subject = "this is nothing email.";
mail.Body = "Our text here ";
mail.BodyEncoding = System.Text.Encoding.GetEncoding( "ASCII" );
SmtpMail.SmtpServer = "servername";
SmtpMail.Send( mail );
for further references visit
http://www.systemwebmail.com/faq/3.aspx
How to Change DropdownList selectedItem Dynamically??
1.first clear the selection by dropDown1.ClearSelection() method
2. Now, change your selection accordingly by
dropDown1.Items.FindByText(str).Selected=true;
that's it .... :))
Friday, February 02, 2007
Send Mail Asp.NET
Posted by Nagendra Kumar at 11:07 PM
Subscribe to:
Post Comments (Atom)
2 comments:
Wird nicht hinausgehen! cialis ohne rezept levitra kaufen [url=http//t7-isis.org]levitra generika preisvergleich[/url]
vbnrgjhhfgh6789
golden goose outlet
golden goose outlet
golden goose outlet
golden goose outlet
golden goose outlet
golden goose outlet
golden goose outlet
golden goose outlet
golden goose outlet
golden goose outlet
Post a Comment