PRB: CDONTS Does Not Function with Any Virtual SMTP Site (287125)



The information in this article applies to:

  • Collaboration Data Objects (CDO) for NTS 1.2, when used with:
    • the operating system: Microsoft Windows 2000

This article was previously published under Q287125

SYMPTOMS

If you attempt to use the CDO for NTS (CDONTS) library on Windows 2000 from a virtual Simple Mail Transfer Protocol (SMTP) site other than the default site, the mail is created in the default SMTP site's pickup folder.

CAUSE

The CDONTS library only uses the SMTPSVC/1 settings in the metabase, which holds the settings for the default SMTP site. CDONTS was designed for use with Microsoft Windows NT 4.0 and Internet Information Server (IIS) version 4.0, and was ported to Windows 2000 for backward compatibility with existing code.

RESOLUTION

To resolve this issue, recode your applications to use CDO for Windows 2000. This object contains a field called cdoSMTPServerPickupDirectory, which can be set to the applicable Virtual SMTP site's mail folder path.

STATUS

This behavior is by design.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Create and enable a virtual SMTP site.
  2. Disable the default SMTP site.
  3. Using CDONTS, send a message from a page that is linked to the virtual SMTP site.
You see the .eml file in the pickup folder for the default SMTP site.

For additional information, click the article numbers below to view the articles in the Microsoft Knowledge Base:

286430 HOWTO: Send HTML Formatted Mail Using CDO for Windows 2000 and the Local Pickup Directory

286431 HOWTO: Send HTML Formatted Mail Using CDO for Windows 2000 and a Remote SMTP Service


Modification Type:MajorLast Reviewed:3/19/2004
Keywords:kbprb KB287125