Allow mailing by roles with user override
majnoona - April 25, 2007 - 20:51
| Project: | Comment Mail |
| Version: | HEAD |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
It would be great to be able to assign roles to receive mails (ie all admins) and then allow users to turn notification on/off in their preferences. It would be a lot easier than keeping up a list of email addresses.
Thanks,
maj

#1
Right now there is no mail queuing for this module. When the user submits a comment, the mailing happens serially during the submission process. This is all well and good for one message sent to a few people (or a mail alias set up on your server), but if we're going to send direct messages to each subscriber and do it in a way that not all of the subscribers would appear in the "to" field, then we will be sending a separate email message per recipient.
This is all well and good for up to 20 or so recipients. But if the numbers get higher than that, we'll really need to queue the messages and send them as part of a cron job or something. Otherwise the site could get really slow while it churns out a bunch of emails.
Allowing anyone in a given role to "subscribe" to site emails would/could encourage non-savvy site administrators to allow too many people to receive these messages. Keeping it all in one field is a subtle reminder that the list shouldn't get too big. But perhaps you've got a use case that I hadn't considered?
I'm not adverse to some sort of a queue system, but this seems like something better handled by another module (or core).
In the meantime, I'm going to treat this one as a hot potato. :-)