Who knows How to...!!! [I]
please help me
with code example
please help me
with code example
![]()
Sorry I can't help with the problem.
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