WordPress.org

Plugin Directory

Test out the new Plugin Directory and let us know what you think.

Mailgun for WordPress

Easily send email from your WordPress site through Mailgun using the HTTP API or SMTP.

  • Testing the configuration fails when using the HTTP API

Your web server may not allow outbound HTTP connections. Set Use HTTP API to "No", and fill out the configuration options to SMTP and test again.

  • Testing the configuration fails when using SMTP

Your web server may not allow outbound SMTP connections on port 465 for secure connections or 587 for unsecured connections. Try changing Use Secure SMTP to "No" or "Yes" depending on your current configuration and testing again. If both fail, try setting Use HTTP API to "Yes" and testing again.

If you have to use SMTP and something is still going horribly wrong, enable debug mode in WordPress and also add the MG_DEBUG_SMTP constant to your wp-config.php, like so:

define( 'MG_DEBUG_SMTP', true );
  • Can this be configured globally for WordPress Multisite?

Yes, using the following constants that can be placed in wp-config.php:

MAILGUN_USEAPI       Type: boolean
MAILGUN_APIKEY       Type: string
MAILGUN_DOMAIN       Type: string
MAILGUN_USERNAME     Type: string
MAILGUN_PASSWORD     Type: string
MAILGUN_SECURE       Type: boolean
MAILGUN_FROM_NAME    Type: string
MAILGUN_FROM_ADDRESS Type: string

Requires: 3.3 or higher
Compatible up to: 4.7.2
Last Updated: 2 weeks ago
Active Installs: 30,000+

Ratings

3.9 out of 5 stars

Support

22 of 28 support threads in the last two months have been marked resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1
100,2,2
100,1,1
100,1,1
100,1,1
100,2,2
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
0,1,0 50,2,1 100,1,1
100,1,1 100,1,1 100,1,1