Skip to content

Commit

Permalink
Nodemailer defined on CF?
Browse files Browse the repository at this point in the history
  • Loading branch information
scosman committed Jul 25, 2024
1 parent d12ea05 commit 0a6a2da
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib/admin_mailer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ export const sendAdminEmail = async ({
return
}

console.log("Nodemailer", nodemailer)

if (nodemailer) {
return sendAdminEmailNodemailer({ subject, body })
} else {
Expand Down Expand Up @@ -50,7 +52,7 @@ const sendAdminEmailNodemailer = async ({
!env.PRIVATE_SMTP_PASS
) {
console.log(
"No smtp settings, not sending admil email. See CMSaasStarter setup instructions.",
"No smtp settings, not sending admin email. See CMSaasStarter setup instructions.",
)
return
}
Expand Down

0 comments on commit 0a6a2da

Please sign in to comment.