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 1ef637c commit b45a10aCopy full SHA for b45a10a
anymail/backends/mailtrap.py
@@ -106,8 +106,10 @@ def add_recipient(
106
def set_subject(self, subject):
107
self.data["subject"] = subject
108
109
- def set_reply_to(self, emails):
110
- self.unsupported_feature("Mailtrap does not support reply_to")
+ def set_reply_to(self, emails: List[EmailAddress]):
+ self.data["headers"]["Reply-To"] = ",".join(
111
+ str(email.addr_spec) for email in emails
112
+ )
113
114
def set_extra_headers(self, headers):
115
self.data.setdefault("headers", {}).update(headers)
0 commit comments