Thanks for the pointers monroe. Here is what I am thinking:
1. Add a property ConfigKeys.MAIL_USERIDS_TO_NOTIFY_ON_ALL_POSTS which will be a comma separated list of email ids to notify
2. Add the following in the begining of the methods TopicsCommon.notifyUsers() and ForumCommon.notifyUsers()
Some notes:
a. I am planning on editing TopicsCommon and ForumCommon instead of ForumNewTopicSpammer and ForumNewTopicSpammer as I need to get the calls even if no one is watching any topic or forum
b. I am planning to use TopicReplySpammer for both new topic and reply post case, so that the subject is the same and gmail can
thread the messages properly
c. for implementing toUserObjects, I plan to use:
Would appreciate it if you can let me know if I am going in the right direction.
[originally posted on jforum.net by shane]