![]() |
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,
How can I list the rules associated with a profile programmatically? Thanks, Dan |
#2
|
|||
|
|||
![]()
Assuming you have Outlook 2007, which is the first version with iterate the
Namespace.Stores collection and for each store call Store.GetRules. Then iterate the resulting Rules collection. Listing 22.2 in my lastest book provides a detailed code sample; the page in my signature has a link for downloading the book's code. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook Programming: Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "dan artuso" wrote: Hi, How can I list the rules associated with a profile programmatically? Thanks, Dan |
#3
|
|||
|
|||
![]()
I think this does not list the Oof rules set. How can I list or modify these
rules. I am trying to delete the IPM.Note.Rules.Ooftemplate.Microsoft entries. Thanks, Markus "Sue Mosher [MVP-Outlook]" wrote: Assuming you have Outlook 2007, which is the first version with iterate the Namespace.Stores collection and for each store call Store.GetRules. Then iterate the resulting Rules collection. Listing 22.2 in my lastest book provides a detailed code sample; the page in my signature has a link for downloading the book's code. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook Programming: Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "dan artuso" wrote: Hi, How can I list the rules associated with a profile programmatically? Thanks, Dan |
#4
|
|||
|
|||
![]()
That is indeed a completely different issue. The OOF response message is a
hidden message in the Inbox with a MessageClass of "IPM.Note.Rules.OofTemplate.Microsoft". Access it in Outlook 2007 as the StorageItem object. See http://groups.google.com/group/micro...b82987d469a37d for an earlier discussion here of the OOF rule. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook Programming: Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Markus Brandl" wrote: I think this does not list the Oof rules set. How can I list or modify these rules. I am trying to delete the IPM.Note.Rules.Ooftemplate.Microsoft entries. Thanks, Markus "Sue Mosher [MVP-Outlook]" wrote: Assuming you have Outlook 2007, which is the first version with iterate the Namespace.Stores collection and for each store call Store.GetRules. Then iterate the resulting Rules collection. Listing 22.2 in my lastest book provides a detailed code sample; the page in my signature has a link for downloading the book's code. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook Programming: Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "dan artuso" wrote: Hi, How can I list the rules associated with a profile programmatically? Thanks, Dan |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Rules: messages from people in distribution list | CJ[_3_] | Outlook - General Queries | 4 | February 14th 08 04:17 PM |
Message rules & blocked user list | Doug W. | Outlook Express | 4 | February 5th 08 06:49 AM |
Complex Outlook rules - programatically? | [email protected] | Outlook - General Queries | 3 | June 27th 06 06:04 PM |
Programatically Set Default Address List | CQ | Outlook - Installation | 0 | June 21st 06 07:52 PM |
message rules - can I import a list of email addresses? | Alynn Baker | Outlook Express | 3 | January 27th 06 02:36 PM |