Menu

How to send Firebase email through OwnMailServer
📰

How to send Firebase email through OwnMailServer

DEV Community: firebase·Hani Khanani·about 8 hours ago
#WA5Lg8qm
#devtofirebase#devto#dev#firebase#email
Reading 0:00
15s threshold

Firebase doesn't ship a list of email providers, but it sends through any SMTP server or HTTPS API, so it works with OwnMailServer in three ways. Use custom SMTP in Firebase Auth for password resets and verification emails, the Trigger Email from Firestore extension to send by writing documents, or a Cloud Function that calls our API for full control. Most apps use the first plus one of the other two.

You want to send Use Code needed

Password resets, email verification, sign-in links Firebase Auth custom SMTP None

Emails written as Firestore documents Trigger Email extension, or the function below None / about 40 lines

Receipts, alerts, anything with your own template A Cloud Function calling POST /emails About 40 lines

Fully custom auth emails A function with generatePasswordResetLink About 30 lines

What you need before you start

An approved OwnMailServer account with a verified sending domain . Every From address must be on that domain, or we refuse the email with 550 .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.