Secure Emails
Learn how to send the confirmation emails securely through Google Developer Console.
We'll cover the following...
We'll cover the following...
There are two methods that configure Gmail into Nodemailer and Node.js.
- We can use our email and password directly, like this:
This method is less secure and may work if we are developing the application locally on our machine. But if we deploy the application, we’ll most likely be blocked by the Gmail client.
- We can use
OAuth2client credentials, like this:
We used the OAuth2 method ...