pis #12
@ -40,7 +40,7 @@ async function generateConfirmationEmail(eml, uuid) {
|
||||
minifyCSS: true
|
||||
});
|
||||
let txtTpl = fs.readFile('mail-templates/register.txt', 'utf-8');
|
||||
return msg = {
|
||||
return msg = { // CSS Needs to be inlined. See css-inline, or css-inliner
|
||||
to: eml,
|
||||
subject: "OwlBoard Registration",
|
||||
text: (await txtTpl).replace(/>>ACCESSCODE<</g, uuid),
|
||||
|
Loading…
Reference in New Issue
Block a user