mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 03:44:29 +03:00
88979c852b
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 |
||
---|---|---|
.. | ||
utils | ||
.eslintrc.js | ||
batch-sending-service.test.js | ||
email-controller.test.js | ||
email-event-processor.test.js | ||
email-event-storage.test.js | ||
email-renderer.test.js | ||
email-segmenter.test.js | ||
email-service.test.js | ||
mailgun-email-provider.test.js | ||
sending-service.test.js |