简体   繁体   中英

How do I connect a SMTP with Firebase?

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 .

为 Firebase 身份验证设置自定义 SMTP 服务器

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.

If you would like to use the Gmail account as SMTP service for Firebase following steps might help you with that. I have shared a medium post about it if you would like to have more details.

  1. Enable the 2 step verification for the G Suite account.
  2. Create an app password for the account.
  3. Allow users to manage their access to less secure apps
  4. Unlock the captcha

The G-Suite account is ready to be used as an SMTP service for firebase.

Check this link please for more details.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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