• Resolved wolf19

    (@wolf19)


    Hi, is there a way to disable sending Mailpoet mails in development/staging environments (without installing other plugins or disabling this one)?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi there @wolf19,

    Thanks for reaching out!

    You can remove the MailPoet key from MailPoet > Settings > Key Activation and also ensure you reset your sending method settings in MailPoet > Settings > Send With…

    If you remove the key and choose MailPoet Sending Service as your sending method, no emails will be sent.

    I hope this clarifies a bit, but please let us know if you have any questions!

    Thread Starter wolf19

    (@wolf19)

    Hello,

    I would prefer if I don’t have to change anything in the database (can be copied from live environment occasionally). Any possibility for a define or something?

    What happens if we copy a database from live system where a key is specified (we will most likely get one soon after tests) to staging or local development environments? I guess it will not work (which is ok), but there are not problems/errors?

    Hi there @wolf19,

    What happens if we copy a database from live system where a key is specified (we will most likely get one soon after tests) to staging or local development environments? I guess it will not work (which is ok), but there are not problems/errors?

    It may still work for a short time before the scheduled key check task runs (but it could be enough for some emails to get sent) so I recommend making the changes I described above right after your live site is copied to the staging environment.

    Hope it helps, please let us know if you need further assistance!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Disable for development?’ is closed to new replies.