Update API email.

This commit is contained in:
Patrick Fic
2023-02-10 09:56:35 -08:00
parent e00cde2fbd
commit 649961c831

View File

@@ -27,7 +27,7 @@ exports.sendServerEmail = async function ({ subject, text }) {
transporter.sendMail(
{
from: `ImEX Online API - ${process.env.NODE_ENV} <noreply@imex.online>`,
to: ["patrick@snapt.ca"],
to: ["patrick@imexsystems.ca"],
subject: subject,
text: text,
ses: {
@@ -240,7 +240,6 @@ exports.emailBounce = async function (req, res, next) {
{
from: `ImEX Online <noreply@imex.online>`,
to: replyTo,
//bcc: "patrick@snapt.ca",
subject: `ImEX Online Bounced Email - RE: ${subject}`,
text: `ImEX Online has tried to deliver an email with the subject: ${subject} to the intended recipients but encountered an error.