The following example uses the MAPI_CreateAddressList() function to create a new address list. Then the MAPI dialog is displayed, allowing the user to specify the recipients.
local boolean result; {Create the address list.} 'Address List' = MAPI_CreateAddressList(); {Display the address dialog.} result = MAPI_DisplayDialog('Address List', "Send to...");