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