Opened 10 years ago

Closed 10 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

Description

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, [user.email],
        headers={'Reply-To': ",".join([email.email for email in organization.get_emails()])})

Change History (4)

comment:1 by Tim Graham, 10 years ago

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 by Martín Blech, 10 years ago

Here's PR #3624

comment:3 by Berker Peksag, 10 years ago

Has patch: set
Triage Stage: AcceptedReady for checkin

PR #3624 LGTM.

comment:4 by Tim Graham <timograham@…>, 10 years ago

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