Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#17862 closed Bug (wontfix)

Change the frozen send_mail in contrib/suth to EmailMessage

Reported by: karthikabinav Owned by: nobody
Component: contrib.auth Version: 1.3
Severity: Normal Keywords: auth, mail
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The models and forms in contrib/auth still uses send_mail as compared to directly invoking EmailMessage in core/mail

Attachments (1)

patch_send_mail.diff (1.7 KB ) - added by karthikabinav 13 years ago.
Changed the send_mail to EmailMessage in contrib/auth

Download all attachments as: .zip

Change History (4)

by karthikabinav, 13 years ago

Attachment: patch_send_mail.diff added

Changed the send_mail to EmailMessage in contrib/auth

comment:1 by Claude Paroz, 13 years ago

Resolution: wontfix
Status: newclosed

Thanks for the patch, but I don't see any benefit to replace send_mail by EmailMessage, if you don't use the additional parameters offered by EmailMessage.
API Frozen != deprecated, and I don't see any advantage to this replacement.

comment:2 by karthikabinav, 13 years ago

Currently there is no advantage. But it is better to keep it this way so that in future if some additional parameters of EmailMessage needs to be used, it can be used directly.

comment:3 by Claude Paroz, 13 years ago

Then we can switch at the time we need those parameters.

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