Support » Plugin: Disable Emails » Problem when used with WP SES plugin

  • Resolved meadows19

    (@meadows19)


    Hello.

    Thank you for this simple but valuable plugin!

    I use it to stop sending emails while I set up a user. After the user is all set up, I send the emails by resending.

    I recently changed from Sparkpost to using Amazon SES.

    I’m using this plugin:

    https://wordpress.org/plugins/wp-ses/

    However, when WP SES is active, the Disable Emails plugin gives this error notice:

    Emails are not disabled! Something else has already declared wp_mail(), so Disable Emails cannot stop emails being sent!

    My question: is there a way I can use your plugin and the WP SES plugin together?

    Thank you.

Viewing 1 replies (of 1 total)
  • Plugin Author webaware

    (@webaware)

    G’day meadows19,

    WP SES is doing they same thing this plugin is doing: replacing the wp_mail() function. You can only have one of these plugins active at the same time.

    But it’s simple. When you want to disable emails:

    • activate Disable Emails
    • deactivate WP SES

    When you want to enable emails again:

    • activate WP SES
    • deactivate Disable Emails

    That will ensure that the correct plugin is replacing the wp_mail() function when you need it.

    cheers,
    Ross

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.