From d5d2072bbfc38015a93d6e13136c3f1dbf125d87 Mon Sep 17 00:00:00 2001 From: Malcolm Tredinnick Date: Fri, 29 Feb 2008 17:00:35 +0000 Subject: [PATCH] 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 --- django/core/mail.py | 8 ++++---- 1 file 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)