Microsoft KB Archive/319285

= E-mail Messages Generated by CDONTS Go Directly to Badmail Folder =

Article ID: 319285

Article Last Modified on 6/23/2005

-

APPLIES TO


 * Microsoft Internet Information Server 4.0
 * Microsoft Internet Information Services 5.0
 * Microsoft Collaboration Data Objects 1.2 for NT Server

-



This article was previously published under Q319285



We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 6.0 running on Microsoft Windows Server 2003. IIS 6.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site:

http://www.microsoft.com/technet/security/prodtech/IIS.mspx



SYMPTOMS
When you use Collaboration Data Objects for Windows NT Server (CDONTS) to create e-mail messages from a component or components in Active Server Pages (ASP), the e-mail messages that CDONTS generates go directly to the Badmail folder. The e-mail messages do not queue up in the Queue folder, and no records appear in the SMTP log.

The .bdr file in the Badmail folder with the .bad file may contain the following information: ... Error is processing file in pickup directory. ... The specific error code was 0xC00402CE.



CAUSE
The &quot;From: ...&quot; line does not appear in the header section of these e-mail messages. A message must contain at least three parts: From, To, and Message Data.



RESOLUTION
To correct this behavior, modify the code to add the .From attribute before you send the e-mail.

Additional query words: IIS CDONTS SMTP BADMAIL

Keywords: kbprb KB319285

-

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

© Microsoft Corporation. All rights reserved.