Send email when adding participant

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

No files matched your search

-14
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;