mirror of
https://gitlab.silvrtree.co.uk/martind2000/old-silvrgit.git
synced 2025-01-10 22:05:07 +00:00
I am a stupid fucking arse
This commit is contained in:
parent
5ec4272611
commit
3723b544ce
@ -299,15 +299,10 @@ function sendEmailV1() {
|
||||
logger.debug(__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;
|
||||
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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user