The BatchImport and DAPIWrite directory access functions import valid proxy addresses for recipients and, when applicable, create new proxy addresses. If an imported recipient object has a value in its Proxy-Addresses attribute, that value is verified for correct format and uniqueness in the directory. If it passes, it is imported along with the object's other attributes.
These two functions automatically call the Microsoft Exchange Server system attendant. It in turn calls the proxy generation DLLs of installed gateways that add proxy addresses to new recipients as they are imported. Every new recipient object receives an X.400 address, even if no X.400 address was explicitly defined on the object before the import operation.
In contrast, the Microsoft Exchange Server address book provider does not automatically call the system attendant to generate proxy addresses. Therefore, if you have created a recipient object using MAPI, pass the appropriate information about the new recipient to the system attendant, which generates proxy addresses. The behavior of other address-book providers (such as a CompuServe address-book provider) must be investigated to determine their handling of proxy address generation.