HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Modify EmailDiscussion addon to exclude certain users from receiving the emails?
Hi:
Presently the EmailDiscussion plugin sends out emails to all users by default. I want to modify it to exclude certain users from receiving the emails. So, I will modify the body of the email with verbiage like "To unsubscribe from these emails, reply with REMOVE in the subject line." Then, if a user replies asking to be removed, I want to update the EmailDiscussion plugin, perhaps updating config.php directly, to exclude that user/email address.
I'm running 2.1.11.
Anyone willing to modify it for me for a fee?
Thank you.
Tagged:
0
Comments
you could do this...
-option A
change line 70 in EMailDiscussion/default.php
foreach($Emails as $Email) {
to
then add excluded email addresses to your config.php
or you could just edit the default.php of plugin (without a config statement)
change line 70 in EMailDiscussion/default.php
foreach($Emails as $Email) {
to
you could also have someone write you a setup screen so you could add exluded email addresses via dashboard.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Hi @peregrine
I've implemented this code. Can't thank you enough!
Cheers!