Share via


Configuring a Message Service

Applies to: Office 2010 | Outlook 2010 | Visual Studio

To configure all the service providers in a message service

  • Call IMsgServiceAdmin::ConfigureMsgService. If all of the data necessary for configuration is available programmatically, you can choose whether or not to display a user interface. However, if some of the information for one or more providers is not available, make sure that you set the SERVICE_UI_ALLOWED or SERVICE_UI_ALWAYS flag. Suppressing a user interface when required configuration data is unavailable results in an unconfigured message service.

To configure a single service provider in a message service

  1. Call IMAPISession::GetStatusTable to access the service provider's status object.

  2. Call IMAPIStatus::SettingsDialog to display the service provider's property sheet.

For more information about using status objects, see Status Table and Status Objects.