Skip to content

Roshan-Kumar-Sharma/nodemailer-and-gmail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nodemailer-and-gmail

In this project, I have used nodemailer and googleapis to send email to any user's account. Here, I have send html template to the user. You can this project to send email templates for Password Reset or Email Confirmation to the user.

nodemailer

Nodemailer is a module for Node.js applications to allow easy as cake email sending. Go for documentation nodemailer docs.

To install

$ npm i nodemailer

googleapis

Node.js client library for using Google APIs. Go for documentation Google API

To install

$ npm i googleapis

Usage

To use gmail as transporter, you will have to setup account on console.cloud.google.com. You will get all the authorization token, refresh token and access token there...

https://www.youtube.com/watch?v=18qA61bpfUs

Watch this video for full explanation...

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published