Support » Plugin: Email Users » Notify users of a post ignores the user preferences

  • If I am using the role to send an email about the new post to a group of subscribers, all subscribers receive that email, regardless the “Accept to receive post or page notification emails” is checked or not. If I choose one by one using the name of the user, then all is good, because the name is not there if the mailer is not checked.
    I have 88 homeowners and some are very nasty when it comes to their choice, specially when they do not want to get the emails and they still do.
    Please advise.

Viewing 5 replies - 1 through 5 (of 5 total)
  • One more strange thing. The emails were sent out in the debugging mode?!

    Plugin Author Mike Walsh


    There is a difference between Post/Page notifications and an email. The notification is initiated by using the “Notify” feature which appears on the Post or Page edit screen on the Dashboard.

    The “Send Email to User or Group” is different and the notification setting for each user isn’t applicable. If you send an email to a user or group, everyone in that group will receive it.

    Regarding mail sent in debug mode, that can happen if another plugin is using the wp_mail hook and it is processed before the Email Users hook can intercept it. I don’t know of a way to fix that.

    I think there maybe a temporary solution to my problem.
    Can I block the role list from displaying when someone is trying to send out new post notification?
    My user list is correct and the ones that do not want to receive the new post notifications do not appear there. But if the user is using “Role-Subscriber”, it ignores the rules.

    Plugin Author Mike Walsh


    Not at this time. I’d have to think about your use case to determine whether that is a bug or it is intended to work that way. I am inclined to think the later because when using the role Subscriber, it sends to mail to everyone who is in that role.

    I think it is a bug, because I have discovered another strange (for me) behavior of the plugin. When I do not allow the user to send group emails, i.e. email_user_groups is unchecked, the user do not get to the group option when tries to use email to a group, i.e. using the roles. But the same user is still capable of sending post notification to a group because the table with all roles is visible and available to that user to choose from.
    So, the same email_user_groups capability that restricts the user to use the group mailing (when unchecked), allows the same user to do so in notify users screen.
    Please test this part and advise.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Notify users of a post ignores the user preferences’ is closed to new replies.