Added email validation for users before they are added to an email recipient list

Review Request #11958 — Created Jan. 21, 2022 and updated — Latest diff uploaded

Information

Review Board
release-4.0.x

Reviewers

Added email validation so only valid emails are being sent to and any blank or invalid emails are not included.

  • Created a user with an email and verified there were no errors when creating/updating a review request
  • Removed the users email and verified that the recipient had an invalid email and has issues sending the email
  • added in validation and ensure that a warning log is printed when a user has an invalid email
  • Added back the email and ensured that the user was included on the email

Diff Revision 2 (Latest)

orig
1
2

Commits

First Last Summary ID Author
[4937] added email validation for users before they are added to an email rec...
3a79866394ab9504a9cf82152bfe8050810fe2e0 Taylor Christie
[4937] added back missing whitespace
9ad64d6f066fb5fd29d97aca2702881ea22f398e Taylor Christie
[4937] removed needless assignment of exception
1a4d3e32529fcd44d5f515618f817744c49cda5f Taylor Christie
reviewboard/notifications/email/utils.py
Loading...