Easily send email from your WordPress site through Mailgun using the HTTP API or SMTP.
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.
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.
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