WordPress.org

Ready to get started?Download WordPress

Forums

Mailgun for WordPress
multisite configuration (5 posts)

  1. berlotti
    Member
    Posted 11 months ago #

    I have a multisite configuration with different hostnames (using the wordpress-mu-domain-mapping plugin).
    How do I configure mailgun for all domainnames in my network?

    https://wordpress.org/plugins/mailgun/

  2. ruess
    Member
    Posted 11 months ago #

    The instructions in the FAQ aren't very clear. Here's the way it would actually look in your wp-config.php file:

    /* Mailgun Settings */
    
    define('MAILGUN_USEAPI', '1'); //Set to 1 to override wp_mail and use Mailgun in WPMU (1 or 0)
    define('MAILGUN_APIKEY', '<your api key here>'); //Found in your Mailgun dashboard
    define('MAILGUN_DOMAIN', '<your domain>'); //The domain you setup in Mailgun
    define('MAILGUN_USERNAME', '<Mailgun username>'); //The email address you setup in Mailgun
    define('MAILGUN_PASSWORD', '<password>'); //The corresponding password for the email address in Mailgun
    define('MAILGUN_SECURE', '1'); //If you want to use secure email or not (1 or 0)

    (Don't include the brackets < > in the above code btw)

    Hope this helps!
    kevin

  3. berlotti
    Member
    Posted 11 months ago #

    Just to clarify....
    After this configuration all the top level domains in the network will work on the same mailgun domain?

  4. berlotti
    Member
    Posted 9 months ago #

    Anyone?
    I'm using multiple top level domains in an network site.
    Does this work?

  5. Patrick Steil
    Member
    Posted 2 months ago #

    I am interested in an answer to this as well... wondering if it would be better to setup one mailgun account for all our clients, or setup a separate mailgun account for each since they will all be sending emails for different domains...

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.