Ghost/ghost/core/test/integration/services
Fabien "egg" O'Carroll 49af26279d Updated MailgunEmailSuppressionList to only handle previous bounces
We're seeing behaviour from Mailgun where permanent failures with a
5xx error code are not being added to their internal suppression list,
which is resulting in the Ghost list becoming out of sync with
Mailgun.

Rather than adding emails to the suppression list when Mailgun does,
we're instead going to add emails _after_ Mailgun does, by waiting for
an error code which tells us the email is already on the suppression
list.

Those codes are 605 for previous bounces and 607 for previous spam complaints.
2023-01-11 15:10:39 +07:00
..
email-service Improved stability of batch sending test 2023-01-10 17:12:56 +01:00
members 🐛 Fixed SingleUseTokens being cleared on boot (#15999) 2023-01-04 09:49:39 +01:00
last-seen-at-updater.test.js Reduced webhook calls when updating last_seen_at for email opens (#16008) 2022-12-14 17:50:42 +01:00
mailgun-email-suppression-list.test.js Updated MailgunEmailSuppressionList to only handle previous bounces 2023-01-11 15:10:39 +07:00
mega.test.js Added DomainEvents.allSettled utility method (#16075) 2023-01-04 14:30:35 +01:00