We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2cc770 commit 80224aeCopy full SHA for 80224ae
anymail/backends/mailtrap.py
@@ -110,8 +110,8 @@ def set_subject(self, subject):
110
self.data["subject"] = subject
111
112
def set_reply_to(self, emails: List[EmailAddress]):
113
- self.data["headers"]["Reply-To"] = ",".join(
114
- str(email.addr_spec) for email in emails
+ self.data.setdefault("headers", {})["Reply-To"] = ", ".join(
+ email.address for email in emails
115
)
116
117
def set_extra_headers(self, headers):
0 commit comments