Support » Plugin: Mailgun for WordPress » Mailgun Test failure

  • I get mailgun test failure every time whether I use the API or SMPTP.

    Works fine on other sites in th same environment.

    Wondering what the best way to debug why it failed?

Viewing 1 replies (of 1 total)
  • Plugin Author Mailgun

    (@mailgun)

    @willemrt Have you tried the debugging instructions in the readme?

    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 );

    Also, take a look at this document for enabling debugging in WordPress. Once you’ve enabled the MG_DEBUG_SMTP option, the SMTP debug logs will be available in /wp-content/debug.log.

Viewing 1 replies (of 1 total)
  • The topic ‘Mailgun Test failure’ is closed to new replies.