MAPI is the only supported way to programmatically change profiles

Original KB number:   266352

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 MAPI profile depend on the various providers that make up the profile. Because providers are not required to document the properties that they write or the relationship of the properties to one another, modifying these values directly can have unpredictable and adverse effects.