Menu

firebase does not send emails, so i made it send emails
📰

firebase does not send emails, so i made it send emails

DEV Community: firebase·nayem·4 days ago
#731qY4P1
#devtofirebase#devto#dev#firebase#email
Reading 0:00
15s threshold

My first contact form went nowhere. I built the form, styled the inputs, added a little success message that popped up on submit, and felt pretty good about it for about a day. Then someone actually used it, and I realized the message had gone exactly nowhere. The button ran a console.log . That was the whole backend. (I had even tested it myself and watched the success message appear, which felt like proof until it very much was not.)

So I went looking for the send-email button in Firebase, because that is where everything else in the app already lived. There is not one. Firebase Auth sends its own emails, password resets and verification links, but those are Firebase's emails, not yours. If your app needs to send a welcome email, a receipt, or a seating chart link, you bring your own mail service, and Firebase gives you two clean ways to call it.

the extension route: write a doc, get an email

The fastest way is the Trigger Email from Firestore extension.…

Continue reading — create a free account

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