Getting SMTP email address using MAPI in VB
-
Hi All, I am trying to get SMTP email address using MAPI functions in VB. So far, I am not successful in getting that. Here is what I am doing: 1. Use MAPILogon to get MAPI session handle, 2. Use BMAPIAddress to show address selection dialog box with session handle got in step 1 above. 3. Select 3/4 addresses in that dialog box and click "To:" to copy the names to "To:" edit control and click OK. 4. Use ResolveName to get properties of recipients selected in step 3. 5. I should have smtp email address in Address attribute of recipient. I am getting address internal to Outlook, but not smtp(xxx@yyy.com) in step 5. Can anyone please tell me, how I can get smtp address using above approach if possible? If not, are there any other techniques to get SMTP address using MAPI functions? Thanks in advance, Reddy