Opened 9 years ago

Closed 9 years ago

#23910 closed New feature (fixed)

Add reply_to parameter to EmailMessage

Reported by: Zakatell KANDA Owned by: nobody
Component: Core (Mail) Version: dev
Severity: Normal Keywords: email, headers
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no


It would be cool if I can just pass a list to Reply-To.

Right now I have something like this:

    msg = EmailMultiAlternatives(
        email_subject, body, email_from, [],
        headers={'Reply-To': ",".join([ for email in organization.get_emails()])})

Change History (4)

comment:1 Changed 9 years ago by Tim Graham

Summary: Multiple Email for Reply-ToAdd reply_to parameter to EmailMessage
Triage Stage: UnreviewedAccepted

I guess we could add reply_to as a parameter to EmailMessage and EmailMultiAlternatives like we have for the other email fields.

comment:2 Changed 9 years ago by Martín Blech

Here's PR #3624

comment:3 Changed 9 years ago by Berker Peksag

Has patch: set
Triage Stage: AcceptedReady for checkin

PR #3624 LGTM.

comment:4 Changed 9 years ago by Tim Graham <timograham@…>

Resolution: fixed
Status: newclosed

In e023ceb453c02e271d00f9ac25e154b7be712bb0:

Fixed #23910 -- Added reply_to parameter to EmailMessage

Thanks to Berker Peksag and Tim Graham for the review and suggestions.

Note: See TracTickets for help on using tickets.
Back to Top