A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

How to make the transport skip a recipient



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old September 28th 06, 10:46 AM posted to microsoft.public.outlook.program_vba
Arcady
external usenet poster
 
Posts: 11
Default How to make the transport skip a recipient

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  
Old September 28th 06, 07:01 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default How to make the transport skip a recipient

"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  
Old October 1st 06, 08:47 AM posted to microsoft.public.outlook.program_vba
Arcady
external usenet poster
 
Posts: 11
Default How to make the transport skip a recipient

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  
Old October 2nd 06, 06:51 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default How to make the transport skip a recipient

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  
Old October 2nd 06, 11:59 PM posted to microsoft.public.outlook.program_vba
Arcady
external usenet poster
 
Posts: 11
Default How to make the transport skip a recipient

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  
Old October 4th 06, 07:24 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default How to make the transport skip a recipient

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
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


All times are GMT +1. The time now is 08:51 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.