Who knows How to...!!! [I]

Send E-Mail from asp.net beta 2.0

please help me

with code example

[72 byte] By [VBNISIM] at [2007-12-16]
# 1
Couldn't you make your thread title something like "Need help sending e-mail from asp.net beta 2.0"?

Tongue Tied

Sorry I can't help with the problem. Sad

280Z28 at 2007-9-9 > top of Msdn Tech,.NET Development,.NET Base Class Library...
# 2
You can continue to use SmtpMail from 1.x if you want but it has been obsoleted.
In 2.0 use System.Net.Mail.SmtpClient. You can auto-configure mail through the config file or you can do it programmatically. Set Host and Port to be the SMTP server address. To authenticate to the server use the Credentials property to set the user identity or use UseDefaultCredentials if the ASPNET account can send e-mail.
To build and send the e-mail either use MailMessage or simply call Send/SendAsync with the from, to, subject and body of the message.
Michael Taylor - 7/20/05
TaylorMichaelL at 2007-9-9 > top of Msdn Tech,.NET Development,.NET Base Class Library...
# 3
Thank you it help me alot Smile
TaylorMichaelL wrote:
You can continue to use SmtpMail from 1.x if you want but it has been obsoleted.

In 2.0 use System.Net.Mail.SmtpClient. You can auto-configure mail through the config file or you can do it programmatically. Set Host and Port to be the SMTP server address. To authenticate to the server use the Credentials property to set the user identity or use UseDefaultCredentials if the ASPNET account can send e-mail.

To build and send the e-mail either use MailMessage or simply call Send/SendAsync with the from, to, subject and body of the message.

Michael Taylor - 7/20/05

VBNISIM at 2007-9-9 > top of Msdn Tech,.NET Development,.NET Base Class Library...

.NET Development

Site Classified