如何将 SMTP 与 Firebase 连接? [英] How do I connect a SMTP with Firebase?

查看:25
本文介绍了如何将 SMTP 与 Firebase 连接?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用一个名为 SMTP2Go 的 SMTP,而不是使用 Firebase 中的内置电子邮件系统,但想知道如何连接它以及是否需要先购买我自己的电子邮件域?将 SMTP 连接到 Firebase 需要什么要求?

解决方案

我假设您正在尝试设置一个自定义 SMTP 服务器,用于从 Firebase 身份验证发送(验证、密码重置、电子邮件更改)电子邮件.您可以

您不需要为此使用自定义域.您只需要知道 SMTP2GO 的 SMTP 主机和端口(类似于 mail.smtp2go.com587),以及您的帐户详细信息(用户名/密码您用来登录 smtp2go).

发件人地址字段正是收件人在电子邮件发件人"字段中看到的内容,也是他们发送的任何回复的目的地.它可以是您想用来支持您的用户的任何地址.

Instead of using the built-in email system in Firebase, I wanted to use a SMTP called SMTP2Go but was wondering how to connect it and if need to buy my own email domain first or not? What requirements are needed to connect a SMTP to Firebase?

解决方案

I assume you're trying to set up a custom SMTP server for sending (verification, password reset, email change) emails from Firebase Authentication. You can set a custom SMTP server in the Firebase Authentication console.

You don't need a custom domain for this. All you need to know is the SMTP host and port of SMTP2GO (something like mail.smtp2go.com and 587), and your account details from them (the username/password you use to log into smtp2go with).

The Sender address field is just what recipients see in the "From" field of the email, and also where any replies they send will be going. It can be whatever address you want to use to support your users.

这篇关于如何将 SMTP 与 Firebase 连接?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆