Add notes

Signed-off-by: Fred Boniface <fred@fjla.uk>
This commit is contained in:
Fred Boniface 2023-04-21 19:55:24 +01:00
parent 535d492443
commit 2e6cd7d5c3

View File

@ -40,7 +40,7 @@ async function generateConfirmationEmail(eml, uuid) {
minifyCSS: true minifyCSS: true
}); });
let txtTpl = fs.readFile('mail-templates/register.txt', 'utf-8'); 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, to: eml,
subject: "OwlBoard Registration", subject: "OwlBoard Registration",
text: (await txtTpl).replace(/>>ACCESSCODE<</g, uuid), text: (await txtTpl).replace(/>>ACCESSCODE<</g, uuid),