@@ -226,6 +226,11 @@ exports.emailBounce = async function (req, res, next) {
|
|||||||
messageId = header.value;
|
messageId = header.value;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (replyTo === "noreply@imex.online") {
|
||||||
|
res.sendStatus(200);
|
||||||
|
return;
|
||||||
|
}
|
||||||
//If it's bounced, log it as bounced in audit log. Send an email to the user.
|
//If it's bounced, log it as bounced in audit log. Send an email to the user.
|
||||||
const result = await client.request(queries.UPDATE_EMAIL_AUDIT, {
|
const result = await client.request(queries.UPDATE_EMAIL_AUDIT, {
|
||||||
sesid: messageId,
|
sesid: messageId,
|
||||||
|
|||||||
Reference in New Issue
Block a user