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: | |
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.
Note:
See TracTickets
for help on using tickets.
From the docstring for
send_mail()
: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.