Support » Plugin: WP Mail SMTP by WPForms » Mailgun API (Forbidden)

  • Resolved uamv


    I’ve connected WP Mail SMTP correctly on most all my sites. Lately, however, I’ve had several sites fail to properly connect to Mailgun via API. I encounter the following:

    WordPress: 5.2.2
    WordPress MS: No
    PHP: 7.3.4
    WP Mail SMTP: 1.5.2
    Mailer: mailgun
    Constants: No
    Api Key / Domain: Yes
    Mailer: Mailgun

    I can add the observation that all of the sites encountering this are ones that I have migrated to new servers (though, in the same Digital Ocean environment). I expect either something is improperly configured on my server, or the Mailgun API has somehow cached the old IPs connected with my domain and are not properly communicating. Any assistance would be greatly appreciated! Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • I just sorted this. After going to review my API key again, I noticed that I had added whitelist IPs and had not whitelisted the new servers to which I had migrated my sites. After adding those new IPs, I’m back in business.

    Plugin Support Jess Quig


    It’s great to hear that you found a fix, uamv, and thanks for taking the time to let us know!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Mailgun API (Forbidden)’ is closed to new replies.