KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q319285: E-mail Messages Generated by CDONTS Go Directly to BadmailFolder

Article: Q319285
Product(s): Internet Information Server
Version(s): 1.2,4.0,5.0
Operating System(s): 
Keyword(s): 
Last Modified: 12-MAY-2002

-------------------------------------------------------------------------------
The information in this article applies to:

- Microsoft Internet Information Server versions 4.0, 5.0 
- Collaboration Data Objects (CDO) for NTS, version 1.2 
-------------------------------------------------------------------------------

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 "From: ..." 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          :  
Technology        : kbiisSearch kbAudDeveloper kbCDOsearch kbExchangeSearch kbiis500 kbiis400 kbCDO120NTS
Version           : :1.2,4.0,5.0
Issue type        : kbprb

=============================================================================

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Copyright Microsoft Corporation 1986-2002.