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
Just to clarify….
After this configuration all the top level domains in the network will work on the same mailgun domain?
Anyone?
I’m using multiple top level domains in an network site.
Does this work?
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…