Opened 16 years ago

Closed 16 years ago

Last modified 13 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

Description

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 by Julian Bez, 16 years ago

Triage Stage: UnreviewedDesign decision needed

comment:2 by Malcolm Tredinnick, 16 years ago

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 by Jacob, 13 years ago

milestone: 1.0

Milestone 1.0 deleted

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