-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Labels
ENTITYBusiness TeamBusiness TeamName RequestNameXNameX and related services proxied via namexNameX and related services proxied via namexNames TeamName Request Name Examination TeamName Request Name Examination Team
Description
The problem is that users are entering invalid emails like xxxxxxx@gmail.ocm or xxxxxx@gmail.cmo, which is causing email sending to fail and to generate a lot of Sentry errors.
Sentry error:
https://sentry.io/organizations/registries/issues/2572347016/?query=is%3Aunresolved+NR+9936741&statsPeriod=14d
We need validation rule for email address when client input the applicant information.
In the backend, we can use "email-validator" library.
Example code:
https://github.com/bcgov/bcregistry-sre/blob/main/notify-api/src/notify_api/models/notification.py#L51
Also to look at in this ticket:
- implement maximum number of retries
- whether or not to log email error to Sentry
^^ some of these came from #14955
Metadata
Metadata
Assignees
Labels
ENTITYBusiness TeamBusiness TeamName RequestNameXNameX and related services proxied via namexNameX and related services proxied via namexNames TeamName Request Name Examination TeamName Request Name Examination Team