OpenNTF.org - Disable and Cleanup Mail Rules
    Advanced
   OpenNTF Code Bin
Edit Document Code By Date > Code Document
About This Code
Brief Description:
Disable and Cleanup Mail Rules 
Rating:
Not Rated Yet 
Contributor:
Brian Green 
Category:
Lotusscript 
Type:
Administration 
Document Release:
1.0 
Notes Version:
R6.x, R8.x, R7.x 
Last Modified:
06 Oct 2008 
OpenNTF Disclaimer

All of the program code and information presented in the OpenNTF.org Code Bin are provided "as-is", and should be used at your own risk. OpenNTF.org make no express or implied warranty about anything in the Code Bin, and OpenNTF.org will not be responsible or liable for any damage caused by the use or misuse of anything from this site. OpenNTF.org makes no guarantees about anything. Please thoroughly test all of the knowledge and code you find here before you attempt to use them in your production environment.

Code / Description
Add this agent to your Lotus Notes mail template.

Ask your user to:
- open their mailbox
- click on the Actions menu, and choose "Disable and Cleanup Mail Rules"

This will disable all mail rules in the user's mailbox, and move the user to their Rules folder so they can enable rules as needed.

Usage / Example
The script will:
- remove all "$filterformula_xxx fields from the CalendarProfile
- disable all Mailrule documents
- move all Mailrule documents back to the user's (Rules) folder

Please download the database below, and copy the Agent to your mail template.
Code Attachments
 Comments

No documents found

 Add your comment!