Sdílet prostřednictvím


Topic Last Modified: 2008-09-04

The https://schemas.microsoft.com/cdo/configuration/ namespace defines most of the fields that are used to set configurations for various Collaboration Data Objects (CDO) objects. These configuration fields are set by using an implementation of the IConfiguration.Fields collection.

Many CDO objects use information that is stored in an associated Configuration object to define configuration settings. For example, for the Message object, you use the associated Configuration object to set fields such as sendusing. This field defines whether to send the message by using the local SMTP service drop directory (if the local computer has the SMTP service installed), by using an SMTP service directly over the network, or by using Microsoft Exchange. If you are sending over the network, you set smtpservername to specify the IP address or name of the computer that is hosting the SMTP service, and optionally, smtpserverport to specify a port value. If credentials are required for connecting to an SMTP service, you can specify them by setting sendusername and sendpassword.

All the names listed in the topics in this section are also defined as string constants in the type library and .idl file for convenience.