-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactored mail transport callbacks (fixes Sparkpost issue with immediate feedback) #5384
Conversation
9e23e78
to
9221437
Compare
9221437
to
53acee7
Compare
Rebased |
53acee7
to
2a8cb15
Compare
I started testing Sparkpost webhooks on my public VPS like this:
|
…hat leverages dependencies to mark DNC records
2a8cb15
to
38bfc84
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested with Sparkpost and email address shirleyjgomez@teleworm.us
and it bounced successfully 👍
Don't merge this yet - seems I lost some tests which makes me wonder what else was lost. Maybe during rebasing. Searching for history through various places to restore. |
Ok I've added back all the tests. Had to rewrite what I had but also added tests for the other transports. |
Ran unit tests and working properly |
Description:
This PR refactors the transport callback process to get away from passing around an array. This also fixes Sparkpost to mark a DNC for an immediately rejected recipient since that will not be sent via a webhook.
Steps to test this PR:
List deprecations along with the new alternative: