Skip to content

node-ci/nci-mail-notification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nci mail notification

Mail notification plugin for nci.

Installation

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:

{
    "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.

    "notify": {
        "on": [
            "change"
        ],
        "to": {
            "mail": [
                "somemail@gmail.com"
            ]
        }
    },

About

Mail notification plugin for [nci](https://github.com/node-ci/nci)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •