Skip to content

Reportr/alerts-mail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mail Alerts for Reportr

How to add it to your instance?

Add reportr-alerts-mail to the package.json and load it in your Reportr configuration:

reportr.configure({
    alerts: [
        require("reportr-alerts-mail")({
            'service': process.env.MAIL_SERVICE,
            'auth': {
                'user': process.env.MAIL_USERNAME,
                'password': process.env.MAIL_PASSWORD
            },
            'from': process.env.MAIL_FROM
        })
    ]
});