Platform SDK: Exchange 2000 Server |
[This is preliminary documentation and subject to change.]
Configuration information is stored in an ADO Fields collection in the Configuration object as a set of properties. Many configuration properties reside in the http://schemas.microsoft.com/cdo/configuration/ namespace. The following table provides a list of common configuration properties and a description.
Configuration Properties | Description |
---|---|
sendusing | Used to specify whether to send the message using the local SMTP service drop directory, over the network using the SMTP protocol, or through Exchange WebDAV submission URI. |
postusing | Used to specify whether to post the message using the local NNTP service drop directory, over the network using the NNTP protocol, or through the Exchange WebDAV submission URI. |
smtpserver | Used to indicate the Domain Name System, (DNS) name of the SMTP or NNTP service host if messages are to be sent using the SMTP/NNTP protocols. |
smtpserverport | Used to indicate the transmission control protocol/Internet protocol (TCP/IP) port of the SMTP or NNTP service if messages are to be sent using the SMTP/NNTP protocols. This field is always used in conjunction with smtpserver/nntpserver field. |
smtpauthenticate | Used to identify the authentication process (if any) when sending or posting messages using the SMTP/NNTP protocols. |
urlproxyserver | If set, indicates the proxy server and port to access network resources. |
timezoneid | (urn:schemas:calendar: namespace) Defines the time zone used to format Date (DATE) values for the Message object. This property is set using the CdoTimeZoneId enumeration. |
languagecode | Determines what locale identifier is used when localizing message response text. This text can automatically be included in Message object generated by IMessage.Reply, IMessage.ReplyAll, IMessage.Forward, and IMessage.PostReply. This behavior is controlled using the usemessageresponsetext field in the Configuration object. |
usemessageresponsetext | Used to control whether or not message response text is added automatically within messages created using the IMessage.Reply, IMessage.ReplyAll, IMessage.Forward, and IMessage.PostReply methods. The response text is localized using the locale identified by the languagecode configuration field. |
The property names are comprised of a URI prefix and a name. Each name has a namespace prefix to ensure that it is a unique, local, and scoped name. For example, the SMTP server port field name is http://schemas.microsoft.com/cdo/configuration/smtpserverport. The namespace is the URI http://schemas.microsoft.com/cdo/configuration/, and the scoped name is smtpserverport. The full property name is the two joined together.
The CDO component provides string constants (in this case cdoSMTPServerPort) that you can use in your program to identify properties and avoid typographical errors. By using the constant instead of the actual string, you can also take advantage of the auto-complete function of Microsoft® Visual Studio®.