#5915: use_tls is not passed from send_email (django.core.mail)
-----------------------+----------------------------------------------------
Reporter:  anonymous   |       Owner:  nobody        
  Status:  new         |   Component:  Core framework
 Version:  SVN         |    Keywords:                
   Stage:  Unreviewed  |   Has_patch:  1             
-----------------------+----------------------------------------------------
 As for revision 6660 you cannot pass use_tls to send_email function.
 Patch is simple:
 {{{
 [EMAIL PROTECTED] ~/devel/django-inst/trunk/django/core $ svn diff mail.py
 Index: mail.py
 ===================================================================
 --- mail.py     (revision 6660)
 +++ mail.py     (working copy)
 @@ -326,7 +326,7 @@
      New code should use the EmailMessage class directly.
      """
      connection = SMTPConnection(username=auth_user,
 password=auth_password,
 -                                 fail_silently=fail_silently)
 +                                 fail_silently=fail_silently,
 use_tls=None)
      return EmailMessage(subject, message, from_email, recipient_list,
 connection=connection).send()

  def send_mass_mail(datatuple, fail_silently=False, auth_user=None,
 auth_password=None):
 }}}

-- 
Ticket URL: <http://code.djangoproject.com/ticket/5915>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to