export e-mail recipients from new email dialog

  • Thread starter Thread starter Mark Smith
  • Start date Start date
M

Mark Smith

I am creating a C++ add-in. If I create a new e-mail, enter a "to" address,
then tab out of that field (so the address book lookup works) and go back
and delete that address, when I look through the recipient addresses using
MAPI that address is still in the list even though it doesn't appear on the
dialog. If I add a new one, it gets added, but if I remove one, it doesn't
get removed. Why is this? Is there a way to ensure that the list of
recipients is up to date with what is on the send dialog? Saving a draft
does cause the item to be updated. I am always getting the current item
from the inspector, so it should be up to date.

Mark
 
The message must be saved (MailItem.Save) for the Extended MAPI to see the
latest changes.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
Back
Top