PC Review


Reply
Thread Tools Rate Thread

How to add appointment’s non-sendable recipients programmatically?

 
 
denis khodak
Guest
Posts: n/a
 
      30th Mar 2009
I’m trying to add non-sendable Outlook 2003 appointment attendees to the
active appointment compose window programmatically using properties
PidLidNonSendableTo (PSETID_Common 0x8536) and PidLidNonSendToTrackStatus
(PSETID_Common 0x8543).
The problem is that inspecotr does not display them immediately immediately.
If I close appointment and open it again I can see non-sendable recipients,
however I cannot make Outlook display them without closing inspector. I tried
adding/removing resipients, changing properties, calling Display() method,
but nothing seems to work. Is it possible to do?
 
Reply With Quote
 
 
 
 
Ken Slovak - [MVP - Outlook]
Guest
Posts: n/a
 
      30th Mar 2009
What API are you using to add them? If it's not the Outlook object model
(obviously) then are you setting any properties from the object model after
saving your changes that might fake Outlook into thinking something has
changed on the item? One such trick is setting item.Subject to itself and
then calling the item.Save() method.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"denis khodak" <denis (E-Mail Removed)> wrote in message
news:1C501870-8EF8-49C7-B06B-(E-Mail Removed)...
> I’m trying to add non-sendable Outlook 2003 appointment attendees to the
> active appointment compose window programmatically using properties
> PidLidNonSendableTo (PSETID_Common 0x8536) and PidLidNonSendToTrackStatus
> (PSETID_Common 0x8543).
> The problem is that inspecotr does not display them immediately
> immediately.
> If I close appointment and open it again I can see non-sendable
> recipients,
> however I cannot make Outlook display them without closing inspector. I
> tried
> adding/removing resipients, changing properties, calling Display() method,
> but nothing seems to work. Is it possible to do?


 
Reply With Quote
 
denis khodak
Guest
Posts: n/a
 
      30th Mar 2009
Thanks for reply! In Outlook 2003 and 2007 I tried Extended MAPI and in 2007
tried new PropertyAccessor API, neither of them work.
Unfortunately item.Subject = item.Subject and calling Save() method didn’t
help either.


"Ken Slovak - [MVP - Outlook]" wrote:

> What API are you using to add them? If it's not the Outlook object model
> (obviously) then are you setting any properties from the object model after
> saving your changes that might fake Outlook into thinking something has
> changed on the item? One such trick is setting item.Subject to itself and
> then calling the item.Save() method.
>
> --
> Ken Slovak
> [MVP - Outlook]
> http://www.slovaktech.com
> Author: Professional Programming Outlook 2007.
> Reminder Manager, Extended Reminders, Attachment Options.
> http://www.slovaktech.com/products.htm
>
>
> "denis khodak" <denis (E-Mail Removed)> wrote in message
> news:1C501870-8EF8-49C7-B06B-(E-Mail Removed)...
> > I’m trying to add non-sendable Outlook 2003 appointment attendees to the
> > active appointment compose window programmatically using properties
> > PidLidNonSendableTo (PSETID_Common 0x8536) and PidLidNonSendToTrackStatus
> > (PSETID_Common 0x8543).
> > The problem is that inspecotr does not display them immediately
> > immediately.
> > If I close appointment and open it again I can see non-sendable
> > recipients,
> > however I cannot make Outlook display them without closing inspector. I
> > tried
> > adding/removing resipients, changing properties, calling Display() method,
> > but nothing seems to work. Is it possible to do?

>
>

 
Reply With Quote
 
Ken Slovak - [MVP - Outlook]
Guest
Posts: n/a
 
      30th Mar 2009
Then close and re-open is the only way I know of to update the display.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"denis khodak" <(E-Mail Removed)> wrote in message
news:6F6BC07B-E27A-4FD6-8C2A-(E-Mail Removed)...
> Thanks for reply! In Outlook 2003 and 2007 I tried Extended MAPI and in
> 2007
> tried new PropertyAccessor API, neither of them work.
> Unfortunately item.Subject = item.Subject and calling Save() method didn’t
> help either.


 
Reply With Quote
 
denis khodak
Guest
Posts: n/a
 
      30th Mar 2009
Close/re-open works, the only downside is that user experience is far from
ideal Thanks again!

"Ken Slovak - [MVP - Outlook]" wrote:

> Then close and re-open is the only way I know of to update the display.
>
> --
> Ken Slovak
> [MVP - Outlook]
> http://www.slovaktech.com
> Author: Professional Programming Outlook 2007.
> Reminder Manager, Extended Reminders, Attachment Options.
> http://www.slovaktech.com/products.htm
>
>
> "denis khodak" <(E-Mail Removed)> wrote in message
> news:6F6BC07B-E27A-4FD6-8C2A-(E-Mail Removed)...
> > Thanks for reply! In Outlook 2003 and 2007 I tried Extended MAPI and in
> > 2007
> > tried new PropertyAccessor API, neither of them work.
> > Unfortunately item.Subject = item.Subject and calling Save() method didn’t
> > help either.

>
>

 
Reply With Quote
 
New Member
Join Date: Jan 2010
Posts: 1
 
      19th Jan 2010
Hi Denis,

Can you please post a source code sample where you add non-sendable using Outlook 2007 PropertyAccessor.
I'm having similar problem and can't add recipient (even after Save and reopen of Inspector).

Thank you.
 
Reply With Quote
 
Toxter
Guest
Posts: n/a
 
      20th Jan 2010
Hi Denis,

Can you please post a source code sample where you add non-sendable using Outlook 2007 PropertyAccessor.
I'm having similar problem and can't add recipient (even after Save and reopen of Inspector).

Thank you..
Submitted using http://www.outlookforums.com
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
group recipients and naming of sender - recipients nip Microsoft Outlook 10 4th Sep 2009 01:36 PM
How can I send emails to multiple recipients & how many Recipients =?Utf-8?B?Q3VzaWU=?= Microsoft Outlook Contacts 2 2nd Nov 2007 10:07 PM
regular messages I create aren't always sent or sendable =?Utf-8?B?V2lsZHdvb2Q=?= Microsoft Outlook Discussion 5 31st Mar 2006 08:16 PM
Can I send group email without recipients seeing all the other recipients? Blair Dean Microsoft Access 2 1st Feb 2005 06:13 PM
Sending photos via emai and outlook, What is max. size file sendable? Joe Microsoft Outlook Discussion 2 8th Jul 2003 01:25 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:26 PM.