Configuring SMTP E-mail in IIS 7
Applies To: Windows 7, Windows Server 2008, Windows Server 2008 R2, Windows Vista
In order to send e-mail from an ASP.NET application using the System.Net.Mail API, you must configure SMTP e-mail. Configuring e-mail services tells the System.Net.Mail API to which SMTP server the e-mail generated by your application should be delivered. You can also configure your application to deliver e-mail to a file location on disk where it can be retrieved for delivery later.
For information about the levels at which you can perform these procedures, and the modules, handlers, and permissions that are required for these procedures, see SMTP E-mail Feature Requirements (IIS 7).