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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top