Opened 13 years ago

Closed 13 years ago

Last modified 10 years ago

#8004 closed (wontfix)

Make email functionality more consistent

Reported by: Django Trac Owned by: nobody
Component: Core (Mail) Version: dev
Severity: Keywords:
Cc: Triage Stage: Design decision needed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


contrib.auth.models.User has a function email_user

contrib.core.mail has functions send_mail, mail_managers etc.

For the sake of consistency, could these all be renamed 'email' (ie: send_email).
Mail could refer to snail-mail - although obviously unlikely.

Change History (3)

comment:1 Changed 13 years ago by Julian Bez

Triage Stage: UnreviewedDesign decision needed

comment:2 Changed 13 years ago by Malcolm Tredinnick

Resolution: wontfix
Status: newclosed

Not worth it. These functions and methods are already used in a lot of code and this would just be churn for no really good reason. If it worries you in your code, then don't use the "mail" versions (since they're not as extensible as the real deal anyway): use the all-powerful EmailMessage class instead.

comment:3 Changed 10 years ago by Jacob

milestone: 1.0

Milestone 1.0 deleted

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