XF 2.2 Sendgrid API integration?

arn

Well-known member
Looks like we were using the old Sendgrid credentials, and they have forced the new API system as of yesterday. So our emails aren't going through.

I tried following:

But I'm getting this error from Xenforo:

  • Swift_TransportException: Email to XXXXXXX failed: Failed to authenticate on SMTP server with username "apikey" using 2 possible authenticators. Authenticator LOGIN returned Expected response code 250 but got an empty response. Authenticator PLAIN returned Expected response code 250 but got an empty response.
  • src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/Esmtp/AuthHandler.php:191

My settings:

Screen Shot 2021-05-21 at 3.03.08 PM.webp

I've tried the API key and the base64 encoded API key as password. no luck.

arn
 
eh... I got it working.

I'm not sure what made the difference, but I regenerated an API key an added v2 API permissions. And repasted the api key as password.

arn
 
Back
Top Bottom