Platform SDK: MAPI

Administering Profiles and Message Services

Profile and message service administration can involve creating new profiles, deleting old profiles, and modifying the contents of existing profiles by changing the message services and service providers contained within them. Not all clients support profile and message service administration as standard features. Some clients have nothing more to do with profiles than allow their users to select one at logon time.

If you support profile or message service administration, chances are you will use the following interfaces that are implemented by MAPI:

Be careful in your support of profile and message service administration. There are no safeguards to protect against adversely modifying a profile that is in use. MAPI can prevent you from deleting a profile in use, but cannot prevent you from deleting every message service in it. If you delete every message service in a profile, all of the service providers in these services will stop thereby causing unpredictable results to occur.

Note  If your client must run unattended, perhaps as a background application or a Windows NT service, some special cautions apply. For more information, see Writing an Automated Client and Windows NT Service Client Applications.