Home Forums Newsletter Plugin Support Toggle switch for mail delivery services

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #294766
    Thorsten
    Participant

    Hi there,

    I’m looking for a way to toggle between Mailjet and Amazon SES as mail delivery services.
    Both plugins/extensions are working fine with the Pro version.

    From time to time I switch manually between both email services.
    But I want to automate this switch and was wondering where this information is stored.

    Any help or hint would be very much appreciated.

    Cheers,
    Thorsten

    #294768
    Stefano
    Keymaster

    It is not “stored” the addons register themself to be used as mailer. Of course, only one is used by Newsletter.
    If you want to enable just one, automatically, the best option is to keep only one active at time, using for example wp-cli to deactivate and activate the respective plugins.

    #294788
    Thorsten
    Participant

    Hello Stefano,
    thank you very much for the idea.

    I tested the following wp-cli commands for the switch:
    wp plugin activate newsletter-amazon
    wp plugin deactivate newsletter-mailjet
    and vice versa:
    wp plugin activate newsletter-mailjet
    wp plugin deactivate newsletter-amazon

    This way, I had to enable the delivery addon first and then deactivate the plugin.

    Cheers,
    Thorsten

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
×