Ghost/ghost/email-service/lib
Rishabh Garg 88979c852b
Updated email sending to remove invalid recipient emails (#16171)
closes https://github.com/TryGhost/Team/issues/2388

We have seen examples of sites with member emails that have invalid characters that can cause an entire email send to fail, or just cause a failure to those addresses. The issue that allowed members with invalid email address to be saved was patched earlier, but its possible there are still sites that contain some of those invalid email addresses.

This change updates new sending service to filter out the recipients with invalid email address before passing them to mail provider, so these rogue addresses don't affect the whole batch in anyway. We also trim the recipient emails to clear out any spaces first, which is the most likely culprit.

- uses new email validator that detects invalid email addresses with special chars
2023-01-24 16:13:10 +05:30
..
email-templates Fixed minor email preview visual bugs 2023-01-23 10:46:30 +01:00
batch-sending-service.js Improved failed email error messages 2023-01-20 18:37:43 +01:00
email-controller.js 🎨 Add ability to send test email with chosen newsletter (#15783) 2023-01-09 17:48:30 +04:00
email-event-processor.js 🐛 Handled unknown Mailgun events (#15995) 2022-12-14 11:17:45 +01:00
email-event-storage.js Added 100% test coverage for EmailEventStorage 2023-01-10 16:36:41 +01:00
email-renderer.js Added outbound link tagging setting (#16146) 2023-01-20 13:41:36 +01:00
email-segmenter.js Updated unit test coverage for email service (#15913) 2022-12-02 00:33:28 +05:30
email-service.js Improved email verification required checks (#16060) 2023-01-04 11:22:12 +01:00
mailgun-email-provider.js Restricted email-service package to 100% test coverage 2023-01-11 13:54:26 +01:00
sending-service.js Updated email sending to remove invalid recipient emails (#16171) 2023-01-24 16:13:10 +05:30