pis #12

Merged
fred.boniface merged 95 commits from pis into main 2023-05-06 21:54:51 +01:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 2e6cd7d5c3 - Show all commits

View File

@ -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),