Daily mail set to use smtp

This commit is contained in:
Martin Donnelly 2019-09-12 17:58:33 +01:00
parent a85064d7a4
commit 8b87c37c2a
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ module.exports = {
const html = pug.renderFile( `${newpath }/jade/today.jade`, todayCache);
email({
'from': 'aida@caliban.io',
'from': 'Aida <aida@caliban.io>',
'to': 'martind2000@gmail.com',
'subject': `Today - ${ dateFormat(now, 'dddd, mmmm dS, yyyy')}`,
'html': html

View File

@ -503,7 +503,7 @@ cron.schedule('15 7 * * *', function () {
});
cron.schedule('30 7 * * *', function () {
mdMailer.sendEmailV1(todayCache, __dirname);
mdMailer.sendSMTP(todayCache, __dirname);
// saveToDB(todayCache);
// Console.log('tick');
return -1;