Support » Plugin: Mailgun for WordPress » multisite configuration

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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!

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

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

    Patrick Steil


    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…

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘multisite configuration’ is closed to new replies.