2 Separate Mailgun Connections At The Same Time
-
I’d like to use 2 different Mailgun connections at the same time. One connection would be connected to domain1.com with SecretKey1 and the other to domain2.com with SecretKey2.
If I put in wp-config.php two separate Mailgun define rules (one rule for each domain), then it will ALWAYS route email through the 1st rule only.
Is it possible to use something like this:
/* 1st Mailgun Connection */
define( ‘FLUENTMAIL_MAILGUN_API_KEY_1’, ‘secret1’ );
define( ‘FLUENTMAIL_MAILGUN_DOMAIN_1’, ‘domain1.com’ );/* 2nd Mailgun Connection */
define( ‘FLUENTMAIL_MAILGUN_API_KEY_2’, ‘secret2’ );
define( ‘FLUENTMAIL_MAILGUN_DOMAIN_2’, ‘domain2.com’ );
- The topic ‘2 Separate Mailgun Connections At The Same Time’ is closed to new replies.