From the course: Firebase Essential Training
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Send emails with nodemailer - Google Cloud Tutorial
From the course: Firebase Essential Training
Send emails with nodemailer
- Okay. The next step in our user email verification chain is creating a Cloud function that will actually send an email to the email address that the user signed up with to make sure that it's actually their email address. To do this we'll need to install a package called nodemailer into our project. This will allow us to actually send verification emails to users so that they can use them to confirm their emails. So to install this package, let's go into our functions directory, and then we'll run npm install, nodemailer. And once we've done that, we need to set up nodemailer to send emails from an actual email account. This is part of the reason why at the beginning of the course, we created a fake email account. We're going to connect this account to nodemailer so that users will get automated emails from this email address. So basically we're going to be having nodemailer send emails on our behalf to users. So…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
What are Cloud Functions?2m
-
(Locked)
Add Cloud Functions to a project4m 45s
-
(Locked)
Write Cloud Functions in ES6+ syntax10m 33s
-
(Locked)
Build an email verification flow3m 9s
-
(Locked)
Modify Firestore security rules1m 8s
-
(Locked)
Create temporary users10m 57s
-
(Locked)
Verify temporary users2m 44s
-
(Locked)
Send emails with nodemailer7m 33s
-
(Locked)
Send emails from Cloud Functions58s
-
(Locked)
Verify users with Cloud Functions6m 11s
-
(Locked)
Demonstrate the verification flow3m 20s
-
(Locked)
Cloud Functions pricing1m 41s
-
-
-
-
-
-