Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
  • Loading branch information...
commit fe24ddbfcb269e182d6d03adb6fd1bff38395f25 1 parent b786cc1
@malcolmt malcolmt authored
Showing with 0 additions and 4 deletions.
  1. +0 −4 django/core/mail.py
View
4 django/core/mail.py
@@ -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):
Please sign in to comment.
Something went wrong with that request. Please try again.