Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MAPI - PB11.5 - Outlook 2007: Validate recipient without dialog popup

Status
Not open for further replies.

LunaRoja

Programmer
Sep 21, 2010
34
US
Hello,

My application is expecting a distribution list to be in place before a mail is sent off. I would like to programmatically find out if the distribution list name exists in Outlook and issue a message to the user if it does not.

As far as I can see I need to use the MailResolveRecipient function but, if the list does not exist, a dialog is popped up for the user to select a recipient.

Is there a way to validate a recipient without having a dialog appear? I would just like to test the mailReturnCode for success or failure and proceed from there.

Thanks... LR
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top