Skip to content
This repository has been archived by the owner on Apr 3, 2019. It is now read-only.

fix(scripts): ignore bouncing accounts in verification reminders #3010

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

philbooth
Copy link
Contributor

Small tweak for the verification reminders script, if the mailer fails with a bounce error then just delete the reminder records and ignore that account.

It turns out it's quite hard to force a bounce error in local testing. I tried with a non-existent domain and a non-existent account at a valid domain, but the email service succeeded with both. So I'm going to mark this as WIP and try again tomorrow. We can still cut the train in the meantime, I'll make a point release if I get it to fail.

@shane-tomlinson
Copy link

This repo has been deprecated and migrated to https://github.com/mozill/fxa. Please open this PR against that repo.

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

Successfully merging this pull request may close these issues.

2 participants