Warning Serious problems might occur if you modify the registry
incorrectly by using Registry Editor or by using another method. These problems
might require that you reinstall your operating system. Microsoft cannot
guarantee that these problems can be solved. Modify the registry at your own
risk.
To configure the ASPNET account to send an e-mail
message by using the System.Web.Mail namespace, follow these steps:
Part 1. Grant permission for the ASPNET account to access the registry key for Microsoft Collaboration Data Objects (CDO) for Exchange 2000 Library
- Click Start, click Run,
type regedt32, and then click
OK.
- In Registry Editor, locate and expand the
HKEY_CLASSES_ROOT
registry
subtree. - Expand TypeLib, and locate
{CD000000-8B95-11D1-82DB-00C04FB1625D}.
- Right-click
{CD000000-8B95-11D1-82DB-00C04FB1625D}, click
Permissions, and then click Add.
- Type
ComputerName\ASPNET, and
then click OK.
Note The placeholder ComputerName is a
placeholder for the name of the computer.
Part 2. Grant NTFS file system permissions for the ASPNET account to the \Inetpub\mailroot\pickup folder
- Click Start, click Run,
type \Inetpub\mailroot\, and then click
OK.
- Right-click Pickup folder, click
Properties.
- Click the Security tab, click
Add, type
ComputerName\ASPNET, and
then click OK.
- Make sure that the following permissions are selected. If
they are not selected, click to select them.
- Read & Execute
- List Folder Contents
- Read
- Click OK.
Part 3. Configure the Smart host for Microsoft Internet Information Services (IIS)
- Click Start, click Run,
type inetmgr, and then click
OK.
- Expand ComputerName, right-click
Default SMTP Virtual Server, and then click
Properties.
- Click the Delivery tab, and then click
Advanced.
- In the Smart host text box, type
SMTP Smart host Name, and
then click OK.
Note The SMTP Smart host Name placeholder
is a placeholder for the name of the SMTP Smart host.
Part 4. Specify the logon account and password for the SMTP Smart host server in the ASP.NET configurable file
Specify
the logon account and password for the SMTP Smart host server in the ASP.NET
configurable file to provide credentials for the domain logon. The logon
account and password for the SMTP Smart host server are the same as the logon account and password that you established in Part 3. To specify the logon account and password for the SMTP Smart
host server in the ASP.NET configurable file, follow these steps:
- Click Start, click Run,
type inetmgr, and then click
OK.
- Expand ComputerName, right-click
Default SMTP Virtual Server, and then click
Properties.
- Click the Delivery tab.
- Click Outbound Security.
- Click Basic authentication, and then type the
logon account and password.
- Click OK two times.