Added new unique tag to all mailgun requests

refs: https://github.com/TryGhost/Ghost/issues/15725

- our users are having difficulties getting onboarded with mailgun
- we're adding an explicit and unique tag to all requests, to help mailgun detect when mail is being sent from Ghost
This commit is contained in:
Hannah Wolfe 2022-12-13 20:54:59 +00:00
parent 8e7d6400b0
commit abc7e64941

View File

@ -71,7 +71,7 @@ module.exports = class MailgunClient {
messageData['v:email-id'] = message.id;
}
const tags = ['bulk-email'];
const tags = ['bulk-email', 'ghost-email'];
if (bulkEmailConfig?.mailgun?.tag) {
tags.push(bulkEmailConfig.mailgun.tag);
}