https://github.com/node-ci/nci-mail-notification
Mail notification plugin for [nci](https://github.com/node-ci/nci)
https://github.com/node-ci/nci-mail-notification
Last synced: 11 months ago
JSON representation
Mail notification plugin for [nci](https://github.com/node-ci/nci)
- Host: GitHub
- URL: https://github.com/node-ci/nci-mail-notification
- Owner: node-ci
- License: mit
- Created: 2015-07-06T16:40:18.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-09-07T14:46:28.000Z (over 8 years ago)
- Last Synced: 2025-02-23T18:37:55.951Z (11 months ago)
- Language: JavaScript
- Size: 6.84 KB
- Stars: 0
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# nci mail notification
Mail notification plugin for [nci](https://github.com/node-ci/nci).
## Installation
```sh
npm install nci-mail-notification
```
## Usage
To enable add this plugin to the `plugins` section at server config, set
parameters for e-mail account at `notify.mail` e.g. for gmail:
```json
{
"plugins": [
"nci-mail-notification"
],
"notify": {
"mail": {
"host": "smtp.gmail.com",
"port": 587,
"auth": {
"user": "bot.nci@gmail.com",
"pass": "pass"
}
}
}
....
}
```
after that you can set mail notification at project config e.g.
```json
"notify": {
"on": [
"change"
],
"to": {
"mail": [
"somemail@gmail.com"
]
}
},
```