I have email notifications configured with many workflow steps. To avoid test notifications being sent to end-users, I have disabled notifications in Development/QA instance using the notification parameter in server.conf. This makes troubleshooting notification-related errors very difficult. I don't want to go thru the pain of changing the "To" list in each and every notification to ensure it comes to admins only (Each time I clone Production data to Dev/QA)
Is there a simpler way to set the "To" parameter in all workflow notifications to a particular emailid for testing without opening every notification?
Since its a dev/qa instance and you want all notifications to come to the admin, so you many not need the email addresses of all the users, in that case, you can do so by changing all the email addresses to the one admin has (or yours to say), by running this query,
update knta_users set email_address=(select email_address from knta_users where username='admin')
This will make sure all emails come to the admin, even if any email server is used.
When using the same mail address for all (test) users it is sometimes difficult to assess if mails would have been routed to the intended recipients. If you are using e.g. Lotus Domino you could created a mail rule on the Domino-Server that routes all mails by a certain sender (the one defined in the server.conf of the dev server) to a quarantine database instead of the original recipients. This way you still have the option to control the recipients in the quarantine db or with the notification history report.
I would be happy to avoid having all the emails flying around to begin with IF the notification history report could be expanded to provide visual access to some of the other pieces of the email such as the body of the text. Has anyone tweaked the JSP for this to provide such information?