Microsoft KB Archive/306957

= XADM: SMTP Mail Sent to an Exchange Server by Using CDONTS Active Server Pages Goes Only as Far as the Imcdata Pickup Folder =

Article ID: 306957

Article Last Modified on 10/28/2006

-

APPLIES TO


 * Microsoft Exchange Server 5.0 Standard Edition
 * Microsoft Exchange Server 5.5 Standard Edition
 * Microsoft Internet Information Server 4.0
 * Microsoft Internet Information Services 5.0

-



This article was previously published under Q306957



IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SYMPTOMS
In Microsoft Exchange Server, when you attempt to send Simple Mail Transport Protocol (SMTP) mail by using Collaborative Data Objects for NTS (CDONTS) with Active Server Pages (ASP), the mail may remain in the Exchange Server or Internet Information Server (IIS) pickup folder instead of being delivered.



RESOLUTION
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

To resolve this behavior, check the values of the relevant registry settings, and then make sure that your anonymous Web account on the Imcdata folder has Add permissions. Follow these steps:  Start Registry Editor (Regedt32.exe). Locate the Active Messaging Use Exchange value under the following key in the registry:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Exchange\Active Messaging Use Exchange = 0x00000001 (1)

This key indicates that Active Messaging programs should use Exchange Server.

 Make sure that the data for this value is as shown. If it does not, correct the data. Locate the RootDir value under the following key in the registry:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIMC\Parameters\RootDir = C:\exchsrvr\imcdata

This key shows the location of the Exchange Server IMC Pickup folder. This value depends on the specific configuration.

 Write down the location of the Imcdata folder. Quit Registry Editor.</li> In Windows Explorer, go to the \Exchsrvr\Imcdata\Pickup folder.</li> Right-click the folder, and then click Properties.</li> Click the Security tab, and then click Permissions.</li> In the Directory Permissions dialog box, add your anonymous Web account if it is not already listed. Unless you configure it otherwise, this account is listed as .</li> Give the anonymous Web account Add permissions</li></ol>

Keywords: kbprb KB306957

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.