Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 495 Bytes

README.md

File metadata and controls

20 lines (17 loc) · 495 Bytes

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
        })
    ]
});