Reputation: 5757
I got the following error when trying to send an Email via SendGrid SMTP.
Failed to authenticate on SMTP server with username "apikey" using 2 possible authenticators. Authenticator LOGIN returned the Expected response code 250 but got an empty response. Authenticator PLAIN returned Expected response code 250 but got an empty response.
MAIL_DRIVER=smtp
MAIL_HOST=smtp.sendgrid.net
MAIL_PORT=587
MAIL_USERNAME=apikey
MAIL_PASSWORD=mysecretkey
MAIL_ENCRYPTION=tls
MAIL_FROM_NAME="RPLS"
[email protected]
Upvotes: 4
Views: 5188
Reputation: 11
check your IP to be whitelisted in Sendgrid dashboard https://app.sendgrid.com/settings/access
Upvotes: 1