Skip to content
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

Mark emails as unreachable #393

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

henriqueberlesi
Copy link
Contributor

My attempt on #390.

Updating the handle_result from Keila.Mailings.Worker to deal with the already existent :invalid_email return error. The action will update the failed_at date for the recipient, and update the recipient's contact to the unreachable atom.

Also, refactored a few queries into their own private functions. Maybe in the future these functions could be moved to their own service/module?

Also, @wmnnd: I have not found any tests covering this file. Should we add tests with this PR?

Thanks!

@wmnnd
Copy link
Contributor

wmnnd commented Mar 9, 2025

Hey @henriqueberlesi, thanks you for taking on this issue! I’ll take a closer look in the coming days 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants