Send email when adding participant

- create invite email template
- move email config
- implement sendEmail functionality
This commit is contained in:
2020-09-04 12:41:09 +02:00
parent ac2b6c2b88
commit 8614166d64
9 changed files with 90 additions and 55 deletions

View File

@@ -1,14 +0,0 @@
const transporter = require('../services/email/transporter');
function logSmtpStatus() {
transporter.verify(function (error, success) {
if (error) {
console.log('SMTP is not working, check your configuration.');
return ``;
} else {
console.log('SMTP is correctly configured.');
}
});
}
module.exports = logSmtpStatus;