Add a reply_to argument to EmailMessage.

Review Request #13155 — Created July 31, 2023 and submitted — Latest diff uploaded

Information

Djblets
release-4.x

Reviewers

This allows users of EmailMessage to specify an explicit reply_to
value. This will leverage Django's own reply-to handling, ensuring the
correct header is set, and avoid unintentionally duplicating headers
(which could happen if a caller tries to override Reply-To).

As before, this defaults to the From address if not otherwise specified.

Unit tests pass in Djblets and Review Board.

Commits

Files