MAPI - Correlate sent mail with delivery and non-delivery receipts

S

Sankar

Hi all,

I am new to the MAPI programming.
I am enhancing an existing application to process delivery receipts. I am
able to correlate delivery receipts with sent messaging by comparing
PR_SEARCH_KEY property of the sent message with PR_ORIGINAL_SEARCH_KEY
property of delivery receipt. But Problem is with non-delivery receipts. I
don't see PR_ORIGINAL_SEARCH_KEY on non-delivery receipts. I tried comparing
PR_SEARCH_KEY of attached original mail with PR_SEARCH_KEY key of sent mail.
Surprisingly they are diferring.

My application sents all mails with same subject so looks like I cannot use
PR_CONVERSATION_TOPIC property as it default equals to PR_NORMALIZED_SUBJECT.

I have not really experimented with PR_CORRELATE_MTSID property. Not sure if
this can be used.

We don't store sent mails in the sent items folder. so i have to extract
required properties of sent mail and maintain them for future processing.

Any suggestion on best way to correlate delivery and non delivery reports
with sent messages is appreciated.

Thanks,
Sankar
 

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