pis #12

Merged
fred.boniface merged 95 commits from pis into main 2023-05-06 21:54:51 +01:00
Showing only changes of commit 769946f818 - Show all commits

View File

@ -7,6 +7,7 @@ const smtpUser = process.env.OWL_EML_USER
const smtpPass = process.env.OWL_EML_PASS
const smtpHost = process.env.OWL_EML_HOST
const smtpPort = process.env.OWL_EML_PORT
// The 'secure' option is not optional to ensure it is not accidentally omitted
const options = {
host: smtpHost,
@ -18,7 +19,7 @@ const options = {
}
}
let transporter = nodemailer.createTransport(options)
let transporter = mail.createTransport(options)
async function sendTest(to, subject, plaintext, html) {
log.out(`mailServices.sendTest: Sending test message to: ${to}, subject: ${subject}`, "info")