Use EmailMessage for the test e-mails in the administration UI.
Review Request #14370 — Created March 17, 2025 and submitted — Latest diff uploaded
The administration UI's E-mail Settings page allows admins to send a
test e-mail to make sure everything is working. This went through
Django's standard e-mail code, which did not use our custom DMARC
processing, logging, or other e-mail machinery.This code now uses Review Board's
EmailMessage
object to construct and
send the message.
Unit tests passed.
Sent a test e-mail and verified that this still worked and invoked our
e-mail code.
reviewboard/admin/forms/email_settings.py |
---|
reviewboard/admin/tests/test_email_settings_form.py |
---|