• Resolved darkpollo

    (@darkpollo)


    I want to block most of the emails but I would like to get some of them.
    For example:
    – Emails to my editors and admins, so they can work on staging without issues. A whitelist or allowing admins (or any other role).
    – Emails for resetting passwords. To the roles selected or just to everyone.

    Do you think you can add this functionality?
    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Sal Ferrarello

    (@salcode)

    Hi @darkpollo,

    Unfortunately, this plugin does not support whitelisting emails.

    This plugin works by replacing the mailer with a non-functional version during the website start up, kind of like replacing a mailbox with a trashcan. Since this replacement happens early in the page request, by the time emails are being sent the replacement has already occurred.

    To get the behavior you are describing would require a different approach and in the interest of keeping this plugin simple, I do not plan to change the approach currently being used.

    I hope you find a solution for your issue.

    Thread Starter darkpollo

    (@darkpollo)

    Thank you for taking time to explain why this is not possible.
    I will try to figure out another way and maybe publishing the solution here.

    Thanks!

    Plugin Author Sal Ferrarello

    (@salcode)

    I will try to figure out another way and maybe publishing the solution here.

    Cool, if you do figure out a way to do it, I’d love to hear about it. Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Is it possible to add a whitelist?’ is closed to new replies.