mirror of https://github.com/django/django.git
Fixed #4086 -- Removed some redundant code points out by Ilya Semenov.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5041 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
b786cc1017
commit
fe24ddbfcb
|
@ -42,10 +42,6 @@ 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.
|
||||
"""
|
||||
if auth_user is None:
|
||||
auth_user = settings.EMAIL_HOST_USER
|
||||
if auth_password is None:
|
||||
auth_password = settings.EMAIL_HOST_PASSWORD
|
||||
return send_mass_mail([[subject, message, from_email, recipient_list]], fail_silently, auth_user, auth_password)
|
||||
|
||||
def send_mass_mail(datatuple, fail_silently=False, auth_user=None, auth_password=None):
|
||||
|
|
Loading…
Reference in New Issue