Add a reply_to argument to EmailMessage.

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

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.

Summary ID
Add a reply_to argument to EmailMessage.
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.
222c480576799f87e28ecc1ce6bede1a73423b6f
david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-4.x (3dbfaea)