A Simple Node JS script to send Email 📫 via Gmail
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
.travis.yml
README.md
package.json
server.js

README.md

email-via-gmail Build Status npm version contributions welcome

NPM

Open a temporary Gmail account only to send emails. Check out this link

Less Secure Apps in Gmail

Unlock Google Captcha

Also create private.js file in the root directory of the project and then npm install to install all dependencies

private.js

module.exports = {
	"private": {
		"gmail": {
	      "username": "<your_email>",
	      "password": "<your_password>"
	    }
	}
};

Start your application with npm start

Most probably the application won't start & will give you an error regarding nodemailer. If so, then install nodemailer@0.7.1 & viola everything will work fine.

npm package

NPM PACKAGE AVAILABLE HERE 👉 email-via-gmail