About This Code
Brief Description:
Auto Responder for R6
Contributor:
Marilyn Laudadio
Category:
Design Elements, Lotusscript, Other
Type:
Design Configuration
Last Modified:
20 May 2006
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
This is an "add on" to the Notes Mail template that adds a capacity to autorespond to emails that correspond to your filter rules. It integrates with the mail "common" script library, adds an autoresponder view similar to the mail rules, a form to configure your white list and the message that should be sent when responding.
You add a Notes and Web dialog form, an autoresponder rules folder and two agents to a mail template to integrate it.
Usage / Example
I created a separate mail template for those users needing to have an autoresponder, like customer support, IT help, etc. This way, I didn't have the world autoresponding to every message. Also, this is a white list, and intended to respond to specific people, or subjects. It does not (or should not) run against assisted mail.
I would appreciate comments, ways to improve it, etc. I've attahed a Notes Database container with instructions in the ABOUT document on how to integrate it.
Code Attachments
Comments
Posted by Stan L Uptagrafft on 05/30/2006 12:47:19 PMI have a couple designs like this in production
I've learned a lot from the autoreply databases I've built. None are more important than being prepared for problems, in particular a bad reply address can create delivery failures and if there are many names in the replyto and only one is bad... everybody could be included in the endless loop as the delivery failure report is returned and the reply to that is sent, causing another delivery failure report... an infinium <grin>. The bad address could be fixed if you run a 'clean up' routine on the replyto value (for example an extra square bracket '[' caused some issues recently)
My suggestions:
1. Check the form name before you begin the reply (should be blank, memo, or reply)
2. Mark the message as having been processed and then check 'if processed' before processing 2nd time
3. Add option to say 'who' is replying
4. Add auto-notify checkbox to let someone know mail was received (that was replied to)
5. NewMail Reply (from Another Name) so someone could create a reply when new mail arrived that did not have a rule match at the time - or wanted to reply again and have it say it's coming from 'Customer Service' (or wherever)
These are loads of fun.
Enjoy <grin>
Posted by Marilyn Laudadio on 05/30/2006 05:49:33 PMThanks for your observations...
Stan,
Good stuff!! I really appreciate the comments and will incorporate them into v1.2.
Thanks again!