@cakewalk/auth91-mail

0.0.1 • Public • Published

Project Title

Mail-Package is a Npm Package Library based on Nest Js which is Created for Send Emails with Nodemailer. Also, used Handlebar Template for Email body Handling.

Installation

$ git init

$ git remote add origin https://github.com/Cakewalk-AA/MailPackage-NPM.git 

$ git pull origin master

$ npm install

.env file

Add .env file on your project directory. Create a new project on Google API Developer Console, and copy client Id, client secret and Access Token and Paste it into your .env file.

MAIL_HOST = smtp.gmail.com MAIL_USER = YOUR MAIL_ID MAIL_FORM = YOUR MAIL_ID CLIENT_ID = YOUR CLIENT_ID CLIENT_SECRET = YOUR CLIENT_SECRET REFRESH_TOKEN = YOUR REFRESH_TOKEN

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Readme

Keywords

none

Package Sidebar

Install

npm i @cakewalk/auth91-mail

Weekly Downloads

1

Version

0.0.1

License

ISC

Unpacked Size

11.9 kB

Total Files

15

Last publish

Collaborators

  • prajaktajadhav
  • paraggiradkar
  • jayvantpatil9
  • sohebrapati