summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2008-02-29 17:00:35 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2008-02-29 17:00:35 +0000
commitd5d2072bbfc38015a93d6e13136c3f1dbf125d87 (patch)
tree10da28551b697100399325b49411927255a04ec4
parent6c51ce488ba8e19492601706b827c2ee78d03e30 (diff)
Updated a docstring on a couple of email functions to stop the complaints.
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
-rw-r--r--django/core/mail.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/django/core/mail.py b/django/core/mail.py
index 153dcb6e63..72343cb4df 100644
--- a/django/core/mail.py
+++ b/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)