![]() |
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, here is my situation, my plugin creates a folder in outlook, then I want to avoid that any messages in that folder could be deleted... I try with the ItemRemove event, but this event is called when the message is already deleted... any suggestion ? Then the other thing is that I want that the user neither could open the messages in that folder... I test the NewInspector event from the Inspectors collection, but I don't know how can I avoid the Inspector to be open. Or should I try something else ? I using C++ for this... Thanx in advance... -- "The best way to predict the future, is to invent it" |
Ads |
#2
|
|||
|
|||
![]()
The best way to prevent people from deleting items in your custom folder is
to set the permissions on the folder so no one can delete items there except for certain admins. That's possible if the folder is in an Exchange store, you'd use ADSI code or something like that to set the permissions on the folder, or if you use Redemption you can use the ACL and ACE objects for the folder. ADSI code you should post about in an Exchange programming forum. You cannot prevent people from opening items, however you can cancel the opening by setting Cancel == true in the MailItem.Open() event handler (or the Open() handler for any item type). -- 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 "Hector Y. Martinez" wrote in message news ![]() Hi, here is my situation, my plugin creates a folder in outlook, then I want to avoid that any messages in that folder could be deleted... I try with the ItemRemove event, but this event is called when the message is already deleted... any suggestion ? Then the other thing is that I want that the user neither could open the messages in that folder... I test the NewInspector event from the Inspectors collection, but I don't know how can I avoid the Inspector to be open. Or should I try something else ? I using C++ for this... Thanx in advance... -- "The best way to predict the future, is to invent it" |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Avoid creation of new folders in my document when I open outlook? | Jochi | Outlook - General Queries | 3 | June 20th 07 01:28 AM |
cant delete or open appointment | CSpotlight | Outlook - Calandaring | 3 | April 16th 07 03:01 PM |
Outlook on two computers - how to avoid duplicate messages | Alpha | Outlook - General Queries | 2 | April 5th 07 08:14 PM |
Bounced back messages.... can I avoid? | Dean | Outlook - Using Contacts | 1 | March 29th 06 08:40 AM |
How do I set up outlook express so that messages do open unless I open them. | Nev. | Outlook Express | 2 | February 25th 06 11:49 PM |