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

Send emails with nodemailer - Google Cloud Tutorial

From the course: Firebase Essential Training

Start my 1-month free trial

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…

Contents