Extended MAPI and replies

C

Colin Bruce

I am trying to code a COM addin for OL2K using vb6. I have found out
abount the MAPI calls and how to access them without tripping the OL
security prompts (using OutlookSpy).

My office uses multiple mailboxes in an exchange (5.5 I think) server.
Fir instance personal and office mailbox. I have coded the addin so
if I send an email on behalf of the group it adds a copy of the email
into the group sent items folder.

OL2K will not do this, that I can find, and I am not sure about newer
versions of OL.

The problem is that when I reply to an email in the group inbox, OL
does not fill in the PR_SENT_REPRESENTING_NAME automatically. What
MAPI PR code would enale me to look at the original email t find out
if it was sent to me or the group?

Sorry for rambling but after two weeks of tearing my hair out I am
stumped ;)

Thanks for any help you can give,

Colin
 
D

Dmitry Streblechenko \(MVP\)

There is the PR_MESSAGE_TO_ME property, bu it never worked for me.
You can find the original message using PR_CONVERSATION_INDEX property, then
loop through the original message recipients to figure out if you were an
explicit recipient.

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

Top