繁体   English   中英

无法在 SMTP 服务器上使用用户名“apikey”在 SendGrid 中使用 2 个可能的身份验证器进行身份验证

[英]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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM