Platform SDK: Exchange 2000 Server |
[This is preliminary documentation and subject to change.]
The CDO Configuration object contains the configuration information needed by other CDO objects and methods. The http://schemas.microsoft.com/cdo/configuration namespace lists the fields defined for the Configuration object.
The sendemailaddress field is required for sending meeting requests and responses. This field should be set to the e-mail address of the user.
You can set other configuration fields as needed, such as the sendusing field. If your program creates multiple appointments or messages, you should create a single configuration object and reuse it for each appointment or message. This reduces the overhead of creating a new configuration object each time you create a new Appointment or Message object.
The following code example demonstrates how to set the configuration object for user12 in the exchange.microsoft.com domain. This code example uses the default private store name "MBX."
Dim Config As New CDO.Configuration CalendarURL = "file://./backofficestorage/exchange.microsoft.com/MBX/user12/calendar/" 'Set the configuration for calendar messages Config.Fields(cdoSendEmailAddress) = "user12@exchange.microsoft.com" Config.Fields("CalendarLocation") = CalendarURL Config.Fields.Update
CDO automatically gets some configuration information from the computer on which it is running. The information from the computer includes how messages are sent. To control how meeting requests and responses are sent, set the http://schemas.microsoft.com/cdo/configuration/sendusing field.