![](/img/trans.png)
[英]535 Authentication Failed - Twilio SendGrid SMTP Relay NodeJS
[英]Problem configuring Sendgrid as SMTP Relay Server for Firebase Authentication Email
社区!
I'm configuring Sendgrid as SMTP for Firebase Authentication Email but when I try to send an email the server sends it with content-type: text/plain
所以HTML内容在用户收到时无法识别
当默认 SMTP Firebase 服务发送 email 内容类型为:多部分/替代ZFC35FDC70D5FC69D5386
那么,为什么我需要更改默认的 SMTP firebase 服务?
基本上,因为当 SMTP firebase 服务设置为发件人时,一些电子邮件没有收到良好的声誉,所以它们被识别为垃圾邮件,所以这就是为什么我需要将 ZC2239A92BDE29F0A09F917319C3 服务更改为 SendFEGrid.ZCC3 服务
我查看了 SendGrid 文档,但没有找到有用的资源来解决这个问题。
我很欣赏任何想法。
FIREBASE/MAILGUN HTML 设置
https://identitytoolkit.googleapis.com/admin/v2/projects/*{FIREBASE_PROJECT_ID}*/config?updateMask=notification.sendEmail.resetPasswordTemplate.bodyFormat
(在其中添加您的项目 ID!){notification:{sendEmail:{resetPasswordTemplate:{bodyFormat: "HTML"}}}}
,然后点击底部的“关闭”。 如果您在响应中获得HTTP/1.1 200 OK
,则工作完成。 您现在可以使用 Sendgrid、Mailgun 或任何其他 email 服务使用 Firebase 发送 HTML 电子邮件!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.