P
prashant.tambe
Hi,
I am writing an Outlook addin using C++/ATL. I want to access the
Message recipients when the message is sent.
Here is what i am doing
1. Advising for the ItemSend Event
2. In the ItemSend callback, I am starting a thread (used to display a
GUI with list of all the recipients). I am passing the _MailItem to
this thread (I am marshalling the _MailItem before passing it to the
thread and unmarshalling it in the thread)
3. In the thread, I am reading the Recipients from the _MailItem and
displaying it on the GUI.
The above is working fine for Outlook 2007,
But occasionally for same set of recipients in Outlook 2003 the count
returned by the Recipients collection is less, then the actual count.
Has anyone seen this ? Is this a bug with outlook 2003 ?
Thanks in advance
Prashant
I am writing an Outlook addin using C++/ATL. I want to access the
Message recipients when the message is sent.
Here is what i am doing
1. Advising for the ItemSend Event
2. In the ItemSend callback, I am starting a thread (used to display a
GUI with list of all the recipients). I am passing the _MailItem to
this thread (I am marshalling the _MailItem before passing it to the
thread and unmarshalling it in the thread)
3. In the thread, I am reading the Recipients from the _MailItem and
displaying it on the GUI.
The above is working fine for Outlook 2007,
But occasionally for same set of recipients in Outlook 2003 the count
returned by the Recipients collection is less, then the actual count.
Has anyone seen this ? Is this a bug with outlook 2003 ?
Thanks in advance
Prashant