Weird issue… I’m baffled.
I get an Invalid API key error when I try to send mail with wp_mail. Gravity Forms (which uses wp_mail) sends emails using Mandrill just fine. Also happens if it try to use wpMandrill::mail directly.
Same server. Same API key. Same function. One errors out, one works fine.
[14-Jul-2014 16:21:21 UTC] wpMandrill Error: Error :
[14-Jul-2014 16:21:21 UTC] 2014-07-14 16:21:21 wpMandrill::sendEmail: Exception Caught => Invalid API Key
API key is valid.
Server has curl.
Domain is a valid sending domain (contact us emails work).
- The topic ‘Invalid API key error on some emails but not others’ is closed to new replies.