![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
Hi, I'm working on an addin for outlook that sends the messages to some of
the recipients by https in the Send event. The addin is written in Delphi. I would like the transport to skip the recipients I that have been already processed by the client. Removing the recipients is not good, since I want them to appear in the sent items. Can I acheive my goal by setting the PR_RESPONSIBILITY property to 1 for the processed recipients in the Send event ? Thanks, Arcady. |
#2
|
|||
|
|||
![]()
"Or" the PR_RECIPIENT_TYPE with MAPI_SUBMITTED (0x80000000), e.g. MAPI_TO
(0x1) becomes 0x80000001. Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "Arcady" wrote in message ... Hi, I'm working on an addin for outlook that sends the messages to some of the recipients by https in the Send event. The addin is written in Delphi. I would like the transport to skip the recipients I that have been already processed by the client. Removing the recipients is not good, since I want them to appear in the sent items. Can I acheive my goal by setting the PR_RESPONSIBILITY property to 1 for the processed recipients in the Send event ? Thanks, Arcady. |
#3
|
|||
|
|||
![]()
Hi Dimitry,
Thank you for your reply. I've tried to "or" PR_RECIPIENT_TYPE with MAPI_SUBMITTED already and it did not worked. I saved the message after I had done the "or" and verified that PR_RECIPIENT_TYPE was 0x80000001 after the save and after the message entered the Outbox, but the message was delivered to the recipient nevertheless. (I worked with Outlook2003 and Exchange 2003). I also have tried to set PR_RESPONSIBILITY to 1, but apparently, the spooler resets it (the message is delivered to the recipient). Please tell me if you have any suggestions. Thank you in advance, Arcady. "Dmitry Streblechenko" wrote: "Or" the PR_RECIPIENT_TYPE with MAPI_SUBMITTED (0x80000000), e.g. MAPI_TO (0x1) becomes 0x80000001. Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "Arcady" wrote in message ... Hi, I'm working on an addin for outlook that sends the messages to some of the recipients by https in the Send event. The addin is written in Delphi. I would like the transport to skip the recipients I that have been already processed by the client. Removing the recipients is not good, since I want them to appear in the sent items. Can I acheive my goal by setting the PR_RESPONSIBILITY property to 1 for the processed recipients in the Send event ? Thanks, Arcady. |
#4
|
|||
|
|||
![]()
You might want to show some of your code. Are you using MAPI alone or mix it
with OOM? Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "Arcady" wrote in message ... Hi Dimitry, Thank you for your reply. I've tried to "or" PR_RECIPIENT_TYPE with MAPI_SUBMITTED already and it did not worked. I saved the message after I had done the "or" and verified that PR_RECIPIENT_TYPE was 0x80000001 after the save and after the message entered the Outbox, but the message was delivered to the recipient nevertheless. (I worked with Outlook2003 and Exchange 2003). I also have tried to set PR_RESPONSIBILITY to 1, but apparently, the spooler resets it (the message is delivered to the recipient). Please tell me if you have any suggestions. Thank you in advance, Arcady. "Dmitry Streblechenko" wrote: "Or" the PR_RECIPIENT_TYPE with MAPI_SUBMITTED (0x80000000), e.g. MAPI_TO (0x1) becomes 0x80000001. Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "Arcady" wrote in message ... Hi, I'm working on an addin for outlook that sends the messages to some of the recipients by https in the Send event. The addin is written in Delphi. I would like the transport to skip the recipients I that have been already processed by the client. Removing the recipients is not good, since I want them to appear in the sent items. Can I acheive my goal by setting the PR_RESPONSIBILITY property to 1 for the processed recipients in the Send event ? Thanks, Arcady. |
#5
|
|||
|
|||
![]()
Before writing the actual code I have used OOM to test the method, I did "or"
on the Type property of the Recipient object, saved the message, closed it, opened it again and checked that Type is still 0x80000001. Isn't this test enough ? Have you tested the "MAPI_SUBMITTED" thing ? Btw, can outlook spy be used to test it ? I mean can it be used to change the mapi property directly (bypassing the OOM)? Thanks, Arcady. "Dmitry Streblechenko" wrote: You might want to show some of your code. Are you using MAPI alone or mix it with OOM? Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "Arcady" wrote in message ... Hi Dimitry, Thank you for your reply. I've tried to "or" PR_RECIPIENT_TYPE with MAPI_SUBMITTED already and it did not worked. I saved the message after I had done the "or" and verified that PR_RECIPIENT_TYPE was 0x80000001 after the save and after the message entered the Outbox, but the message was delivered to the recipient nevertheless. (I worked with Outlook2003 and Exchange 2003). I also have tried to set PR_RESPONSIBILITY to 1, but apparently, the spooler resets it (the message is delivered to the recipient). Please tell me if you have any suggestions. Thank you in advance, Arcady. "Dmitry Streblechenko" wrote: "Or" the PR_RECIPIENT_TYPE with MAPI_SUBMITTED (0x80000000), e.g. MAPI_TO (0x1) becomes 0x80000001. Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "Arcady" wrote in message ... Hi, I'm working on an addin for outlook that sends the messages to some of the recipients by https in the Send event. The addin is written in Delphi. I would like the transport to skip the recipients I that have been already processed by the client. Removing the recipients is not good, since I want them to appear in the sent items. Can I acheive my goal by setting the PR_RESPONSIBILITY property to 1 for the processed recipients in the Send event ? Thanks, Arcady. |
#6
|
|||
|
|||
![]()
Did you look at the message with MFCMAPI or OutlookSpy to make sure the
changes were committed? If you used OOM to reopen the message, it didn't necessarily reopened the messasge . Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "Arcady" wrote in message ... Before writing the actual code I have used OOM to test the method, I did "or" on the Type property of the Recipient object, saved the message, closed it, opened it again and checked that Type is still 0x80000001. Isn't this test enough ? Have you tested the "MAPI_SUBMITTED" thing ? Btw, can outlook spy be used to test it ? I mean can it be used to change the mapi property directly (bypassing the OOM)? Thanks, Arcady. "Dmitry Streblechenko" wrote: You might want to show some of your code. Are you using MAPI alone or mix it with OOM? Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "Arcady" wrote in message ... Hi Dimitry, Thank you for your reply. I've tried to "or" PR_RECIPIENT_TYPE with MAPI_SUBMITTED already and it did not worked. I saved the message after I had done the "or" and verified that PR_RECIPIENT_TYPE was 0x80000001 after the save and after the message entered the Outbox, but the message was delivered to the recipient nevertheless. (I worked with Outlook2003 and Exchange 2003). I also have tried to set PR_RESPONSIBILITY to 1, but apparently, the spooler resets it (the message is delivered to the recipient). Please tell me if you have any suggestions. Thank you in advance, Arcady. "Dmitry Streblechenko" wrote: "Or" the PR_RECIPIENT_TYPE with MAPI_SUBMITTED (0x80000000), e.g. MAPI_TO (0x1) becomes 0x80000001. Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "Arcady" wrote in message ... Hi, I'm working on an addin for outlook that sends the messages to some of the recipients by https in the Send event. The addin is written in Delphi. I would like the transport to skip the recipients I that have been already processed by the client. Removing the recipients is not good, since I want them to appear in the sent items. Can I acheive my goal by setting the PR_RESPONSIBILITY property to 1 for the processed recipients in the Send event ? Thanks, Arcady. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Outlook 2007 needs shorter timeout on boot or skip check for LDAP | nomad_diver | Outlook - Installation | 0 | June 4th 06 05:23 AM |
Maintain form when recipient forwards to another recipient | Holly Utzinger | Outlook - Using Forms | 3 | May 5th 06 12:40 AM |
Outlook 97: No transport providers | Jens | Outlook - General Queries | 9 | January 31st 06 10:54 AM |
Can I skip one occurrence of a recurring APPOINTMENT? | Sam | Outlook - Calandaring | 2 | January 23rd 06 03:40 PM |
skip confirming | Sue Mosher [MVP-Outlook] | Outlook - Installation | 0 | January 18th 06 07:54 PM |