Opened 8 years ago

Closed 8 years ago

#27427 closed New feature (wontfix)

Add reply_to argument on send_mail wrapper.

Reported by: hobbestigrou Owned by: nobody
Component: Core (Mail) Version: 1.10
Severity: Normal Keywords: mail
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

Somtimes it's can be useful to have an reply_to list. The class EmailMultiAlternatives have an reply_to argument, so it's easy to used on functions. I propose to add a new argument with a None value by default for send_mail, send_mass_mail, mail_admins and mail_managers. If you agree with that, I can make a pull request on github.

Change History (1)

comment:1 by Tim Graham, 8 years ago

Resolution: wontfix
Status: newclosed

From the docstring for send_mail():

The API for this method is frozen. New code wanting to extend the functionality should use the EmailMessage class directly.

I think similar arguments probably apply to the other functions you mentioned. They're nice shortcuts for simple cases, but they aren't meant for every use case.

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