Use policy.ValidEmail to vet email addresses before sending expiration notifications to them. This same check is performed by notify-mailer, and it helps reduce the number of invalid addresses we attempt to send to and the number of email bounces we generate. Additionally, mark certificates as having had a nag email sent if there are no valid addresses for us to send to, so that we don't constantly retry them. Fixes https://github.com/letsencrypt/boulder/issues/5372 |
||
|---|---|---|
| .. | ||
| main.go | ||
| main_test.go | ||
| send_test.go | ||