Partager via


Configuring a Message Service

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

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.