Daily mail set to use smtp
This commit is contained in:
parent
a85064d7a4
commit
8b87c37c2a
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user