Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated a docstring on a couple of email functions to stop the compla…

…ints.

It's deprecated for internal use, but the functions still exist.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7183 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit d5d2072bbfc38015a93d6e13136c3f1dbf125d87 1 parent 6c51ce4
@malcolmt malcolmt authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 django/core/mail.py
View
8 django/core/mail.py
@@ -318,8 +318,8 @@ def send_mail(subject, message, from_email, recipient_list, fail_silently=False,
If auth_user is None, the EMAIL_HOST_USER setting is used.
If auth_password is None, the EMAIL_HOST_PASSWORD setting is used.
- NOTE: This method is deprecated. It exists for backwards compatibility.
- New code should use the EmailMessage class directly.
+ Note: The API for this method is frozen. New code wanting to extend the
+ functionality should use the EmailMessage class directly.
"""
connection = SMTPConnection(username=auth_user, password=auth_password,
fail_silently=fail_silently)
@@ -335,8 +335,8 @@ def send_mass_mail(datatuple, fail_silently=False, auth_user=None, auth_password
If auth_user is None, the EMAIL_HOST_USER setting is used.
If auth_password is None, the EMAIL_HOST_PASSWORD setting is used.
- NOTE: This method is deprecated. It exists for backwards compatibility.
- New code should use the EmailMessage class directly.
+ Note: The API for this method is frozen. New code wanting to extend the
+ functionality should use the EmailMessage class directly.
"""
connection = SMTPConnection(username=auth_user, password=auth_password,
fail_silently=fail_silently)
Please sign in to comment.
Something went wrong with that request. Please try again.