Add a reply_to argument to EmailMessage.
Review Request #13155 — Created July 31, 2023 and submitted — Latest diff uploaded
This allows users of
EmailMessage
to specify an explicitreply_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 overrideReply-To
).As before, this defaults to the From address if not otherwise specified.
Unit tests pass in Djblets and Review Board.