By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,247 Members | 1,250 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,247 IT Pros & Developers. It's quick & easy.

send mails from asp.net pages

P: n/a
how can I send mails from asp.net pages?
Nov 17 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Web.Mail.SmtpServer = "smtp.smtpmailsserverdomain.com";
MailMessage mail = new MailMessage();
mail.To = yo*@yourdomain.com;
mail.From = Me@mydomain.com;
mail.Subject = "Testing eMail";
mail.Body = "<h1>Testing ASP.NET mail</h1>";
SmtpMail.Send(mail);

"Duy Nguyen" <it*****@hotmail.com> wrote in message
news:uR**************@TK2MSFTNGP12.phx.gbl...
how can I send mails from asp.net pages?

Nov 17 '05 #2

P: n/a

http://aspalliance.com/andrewmooney/...spx?article=13

With this sample you can send an email from an ASP.NET web page. Just fill in
the From, To, Server, Subject, and Message on the form and click submit.
Result #2 Email with ASP.NET

http://aspalliance.com/jnuckolls/art...l/default.aspx
Here you will learn different ways to enable email functionality into your
ASP.NET web pages.
Result #3 Sending Emails With ASP.NET

http://aspalliance.com/hrmalik/artic.../20020601.aspx

"Duy Nguyen" <it*****@hotmail.com> wrote in message
news:uR**************@TK2MSFTNGP12.phx.gbl...
how can I send mails from asp.net pages?

Nov 17 '05 #3

P: n/a

http://aspalliance.com/andrewmooney/...spx?article=13

With this sample you can send an email from an ASP.NET web page. Just fill in
the From, To, Server, Subject, and Message on the form and click submit.
Result #2 Email with ASP.NET

http://aspalliance.com/jnuckolls/art...l/default.aspx
Here you will learn different ways to enable email functionality into your
ASP.NET web pages.
Result #3 Sending Emails With ASP.NET

http://aspalliance.com/hrmalik/artic.../20020601.aspx

"Duy Nguyen" <it*****@hotmail.com> wrote in message
news:uR**************@TK2MSFTNGP12.phx.gbl...
how can I send mails from asp.net pages?

Nov 17 '05 #4

P: n/a
thanks, it works now!!

"Duy Nguyen" <it*****@hotmail.com> wrote in message
news:uR**************@TK2MSFTNGP12.phx.gbl...
how can I send mails from asp.net pages?

Nov 17 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.