mailgun / wordpress-plugin

Mailgun's Wordpress Plugin
GNU General Public License v2.0
48 stars 53 forks source link

Improve error message when admin email not set and test configuration used #71

Closed rtpHarry closed 3 years ago

rtpHarry commented 6 years ago

I have just set up mailgun on a new site im building.

The admin email is still set to admin@local.test.

When I set up the Mailgun plugin to use API, click Save, then Test Changes, I get this error popup:

Mailgun HTTP API Test Failure; status "'to' parameter is not a valid address. please check documentation"

I was bright enough to figure it out but not before I had scanned up and down the page twice looking for this to parameter.

I think you should special case this API reply to give the admin a hint as to what is wrong.

miguelon85 commented 6 years ago

i have the same issue

tleifj commented 4 years ago

If anyone is unclear on this, the admin email is the WordPress admin email which can be found and changed in WordPress at Settings > General > Administration Email Address

uavn commented 3 years ago

Error message adjusted