some cleanups to mailer and user deletion

This commit is contained in:
mntmn
2020-04-09 15:22:06 +02:00
parent d6f93051ef
commit 92cf6c4397
2 changed files with 29 additions and 54 deletions

View File

@@ -61,33 +61,6 @@ module.exports = {
}
});
} else if (config.get('mail_provider') === 'aws') {
/*
AWS.config.update({region: 'eu-west-1'});
var ses = new AWS.SES();
ses.sendEmail( {
Source: from,
Destination: { ToAddresses: [to_email] },
ReplyToAddresses: reply_to,
Message: {
Subject: {
Data: subject
},
Body: {
Text: {
Data: plaintext,
},
Html: {
Data: htmlText
}
}
}
}, function(err, data) {
if (err) console.error("Error sending email:", err);
else console.log("Email sent.");
});
*/
}
}
};