#11849: use_tls initialization bug in django.core.mail.SMTPConnection ------------------------------+--------------------------------------------- Reporter: aromano | Owner: nobody Status: new | Milestone: Component: django.core.mail | Version: Keywords: | Stage: Unreviewed Has_patch: 1 | ------------------------------+--------------------------------------------- Hi all,[[BR]] I have created this new ticket to make you aware of a bug on django.core.mail.SMTPConnection at constructor level, where use_tls is not initialized properly. Indeed, in case you decide to initialize a SMTPConnection instance with use_tls=False, and settings.EMAIL_USE_TLS defined as True, then the actual value that is set is not False (as explicitly defined at construction level, and as we expect), but True instead. I have created a patch for this, which is attached to this ticket. I am aware of this bug's existance since Django 1.0, and it is still present under SVN release.
-- Ticket URL: <http://code.djangoproject.com/ticket/11849> Django <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 django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---