![](/img/trans.png)
[英]Laravel Multitenancy - Failed to authenticate on SMTP server with username "apiKey" using 2 possible authenticators
[英]Failed to authenticate on SMTP server with username "apikey" using 2 possible authenticators in SendGrid
尝试通过 SendGrid SMTP 发送 Email 时出现以下错误。
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"
MAIL_FROM_ADDRESS=info@rtsss.com
检查您的 IP 是否在 Sendgrid 仪表板中列入白名单https://app.sendgrid.com/settings/access
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.