The Address-Template object provides the framework for a specific proxy address. You must have an address template for each type of foreign system where the server sends messages. There is a one-to-one relationship between address templates and address types.
For example, SMTP (Internet) business addresses take the form of user@domain.com, where user is the account name of the user and domain is the name of the host computer domain.
Because Address-Template objects appear to MAPI as messaging user objects, use the MAPI IMailUser interface to access an Address-Template object.
To determine whether an address template already exists, call the HrAddressTemplateExists function. To install an address template, call the HrInstallAddressTemplate function. To remove an address template, call the HrRemoveAddressTemplate function.