mirror of
https://gitlab.silvrtree.co.uk/martind2000/old-silvrgit.git
synced 2025-01-10 23:55:09 +00:00
updated today.js
This commit is contained in:
parent
0a007ca520
commit
8a7101a029
@ -299,9 +299,14 @@ function sendEmail() {
|
|||||||
logger.debug(__dirname.substr(__dirname.lastIndexOf('/'), __dirname.length));
|
logger.debug(__dirname.substr(__dirname.lastIndexOf('/'), __dirname.length));
|
||||||
|
|
||||||
//if (__dirname.substr(__dirname.lastIndexOf('/'),__dirname.length))
|
//if (__dirname.substr(__dirname.lastIndexOf('/'),__dirname.length))
|
||||||
mailer.sendTemplate(email, template, function (err) {
|
/* mailer.sendTemplate(email, template, function (err) {
|
||||||
if (err) throw err;
|
if (err) throw err;
|
||||||
console.log('compiled template email sent');
|
console.log('compiled template email sent');
|
||||||
|
});*/
|
||||||
|
|
||||||
|
mailer.sendText(email, 'Look at this fantastic email body!', function(err){
|
||||||
|
if(err) throw err;
|
||||||
|
console.log('email sent!');
|
||||||
});
|
});
|
||||||
|
|
||||||
var fn = jade.compileFile(template.file);
|
var fn = jade.compileFile(template.file);
|
||||||
|
Loading…
Reference in New Issue
Block a user