INFO: MAPI Is the Only Way to Programmatically Change Profiles (266352)



The information in this article applies to:

  • Microsoft Extended Messaging Application Programming Interface (MAPI)

This article was previously published under Q266352

SUMMARY

The only supported way to modify MAPI profiles programmatically is through Extended MAPI. The values that are written into the registry by MAPI are not documented, and direct manipulation of these values through the registry application programming interfaces (APIs) is not supported.

MORE INFORMATION

The keys and values that make up a profile are dependent on the various providers that comprise the profile. Because providers are not compelled to document the properties that they writem or their relationship to each other, modifying these values directly can have unpredictable, adverse effects.

REFERENCES

For information and samples on profile manipulation through MAPI, see the following articles in the Microsoft Knowledge Base:

228736 SAMPLE: Profman2.exe - MAPI Profile Manager v2.0

170225 HOWTO: Modify Settings of MS Exchange Transport Provider

188482 HOWTO: Open the Global Profile Section

180233 HOWTO: Programmatically Find the Default MAPI Profile

171636 HOWTO: Add an Additional Mailbox to a MAPI Profile


Modification Type:MinorLast Reviewed:8/25/2005
Keywords:kbinfo kbMsg KB266352