https://github.com/deadcoder0904/email-via-gmail
A Simple Node JS script to send Email :mailbox: via Gmail
https://github.com/deadcoder0904/email-via-gmail
Last synced: 6 months ago
JSON representation
A Simple Node JS script to send Email :mailbox: via Gmail
- Host: GitHub
- URL: https://github.com/deadcoder0904/email-via-gmail
- Owner: deadcoder0904
- Created: 2016-07-13T14:37:16.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-11-27T13:59:53.000Z (about 9 years ago)
- Last Synced: 2025-03-04T09:17:34.547Z (12 months ago)
- Language: JavaScript
- Homepage: https://emailviagmail0904-deadcoder0904.rhcloud.com/
- Size: 10.7 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# email-via-gmail [](https://travis-ci.org/deadcoder0904/email-via-gmail) [](https://badge.fury.io/js/email-via-gmail) [](https://github.com/deadcoder0904/email-via-gmail/issues)
[](https://nodei.co/npm/email-via-gmail/)
### Open a temporary Gmail account only to send emails. Check out this link
[Less Secure Apps in Gmail][a]
[Unlock Google Captcha][b]
[a]: https://www.google.com/settings/security/lesssecureapps "Less Secure Apps in Gmail"
[b]: https://accounts.google.com/DisplayUnlockCaptcha "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
```js
module.exports = {
"private": {
"gmail": {
"username": "",
"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_ :point_right: [email-via-gmail](https://www.npmjs.com/package/email-via-gmail)