Closed (fixed)
Project:
Mass Contact
Version:
5.x-1.0
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
12 Apr 2007 at 18:20 UTC
Updated:
27 Apr 2007 at 14:30 UTC
I would like the option to allow or disallow users to turn off acceptance of group emails. I know that it already does this EXCEPT if you are an administrator of users and in that case they MUST receive the email... however, I think this should be an option under the settings of the module.
To disable this option temporarily, I had to modify the module to remove the hook_user() and comment out this check inside the mass_contact_mail_page_submit function:
if (!user_access('administer users'))
I hope you understand my request... GREAT job on the module... it was exactly what I was looking for!
Comments
Comment #1
NoahY commentedI had a problem with this opt-out thing from the beginning, but I was told it is "necessary", as in required by law or karma or some such thing. I will add your suggestion to the next dev version and add another option which allows the admin to respect or override opt-outs at their discretion (if the opt-out is even enabled). If there are no complaints, we can tag it as a 1.1 version.
I'm also going to go back to the original method of allowing opt-outs, rather than allowing opt-ins. This will nullify any users who have chosen to NOT opt-in in previous versions. It just makes more sense to allow opt-outs, but I changed it to opt-in when I thought this was going to be the next mail.module. Now there is no need to follow that module's path. Let me know if this is unwelcome. Expect a new dev release soon incorporating these changes.
Comment #2
NoahY commentedOkay, I've added the features above to the dev version. It's up now, so you can try it out. I'm going to tag it as the 1.1 version right away, because I want to get away from the old "opt-in" as soon as possible. It seems to work without any bugs, but I still would be wary using this on a production site.
Comment #3
wmclark commentedThanks, I'll try it out today. The reason I needed this was because I run a Sports Team website for the school that I coach. We have roles of booster club board, coaches, parents, and players.
I needed the ability to let all coaches and directors to be able to send group emails to roles that are players or parents.
Comment #4
NoahY commentedNo problem. It's up already. But even though you get the warning, the mail should be sent in the meantime.
Comment #5
(not verified) commented