Wednesday, August 6, 2008

ASP.NET How to send email

How to send email using asp.net?
1. Can you tell me a situation where this program can be used?
You have created asp.net application.
In that application, there is a Registration Form.
When a user submits this Registration Form, you want to send a password to his email address.
2. Code:

3. Addl Info:
  • Your server should have DotNet Framework Installed,SMTP Installed.

  • This is a very simple tutorial. If you want to have other facilities such as sending attachments,etc, then please search the Internet.
  • No comments: