“Email wasn’t sent” – bug
-
This is with the latest version of the plugin (and a few prior.) This is also using the API key method (smtp method is disabled for me.) .
My plugin suddenly stopped working a week or two ago? Not sure when exactly for this particular site. But when I realized it I tested and got the “Email wasn’t sent” error. I installed Query Monitor, and much like two other people (see here: https://www.ads-software.com/support/topic/email-wasnt-sent/) I had this:
“400 Bad Request” (I forgot to save the entire message, but it was identical to the link above)
I changed API keys, I changed Sendgrid accounts, nothing worked.
I got it working though, but putting the API key into both the “General” AND “Subscription” tabs, and now it works?
`POST
https://api.sendgrid.com/v3/mail/send 202 Accepted WP_Http->request()
wp-includes/class-http.php:223
WP_Http->post()
wp-includes/class-http.php:594
wp_remote_post()
wp-includes/http.php:187
Sendgrid_API->send()
wp-content/plugins/sendgrid-email-delivery-simplified/lib/sendgrid/class-sendgrid-api.php:39
wp_mail()
wp-content/plugins/sendgrid-email-delivery-simplified/lib/sendgrid/sendgrid-wp-mail.php:414
Sendgrid_Settings::send_test_email()
wp-content/plugins/sendgrid-email-delivery-simplified/lib/class-sendgrid-settings.php:808
Sendgrid_Settings::do_post()
wp-content/plugins/sendgrid-email-delivery-simplified/lib/class-sendgrid-settings.php:408
Sendgrid_Settings::show_settings_page()
wp-content/plugins/sendgrid-email-delivery-simplified/lib/class-sendgrid-settings.php:139
do_action(‘settings_page_sendgrid-settings’)
wp-includes/plugin.php:453`Not sure if that was a fluke, or if it has some variable tangled or something. Either way, it’s definitely a bug in the plugin. Oddly, I have a site on the same server, the same API key, same versions of everything and it never broke.
- The topic ‘“Email wasn’t sent” – bug’ is closed to new replies.