• Resolved wolf19

    (@wolf19)


    Hello,

    what is the best way to disable the plugin on development/staging servers, so emails are not send there?

    Thanks in advance

Viewing 3 replies - 1 through 3 (of 3 total)
  • You could configure an email sandbox service like mailtrap.io or HELO.

    Every mail sent will be delivered to a catch-all inbox.

    Thread Starter wolf19

    (@wolf19)

    Thanks for your reply. However, it doesn’t fit my use case. The database is copied from live server so it has the exact same settings as that and I don’t want to configure it each time for dev/staging. Is there a define that is checked (preferred) or a filter that can be set in these environments that disable sending the mails and use the default wp_mail behaviour (saving to disk in my case)? I’ve seen plugins that can do this, but I don’t want to switch if not necessary.

    Plugin Support M Haseeb

    (@haseeb0001)

    @wolf19 Hi,

    Hope you are doing good.

    There is no feature like this, you can temporarily disbale the Plugin on your staging website and do your work and testing.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Disable for development?’ is closed to new replies.