#9488: Add setting to force plain SMTP authentication ---------------------------------------+------------------------------------ Reporter: jdemoor | Owner: nobody Status: new | Milestone: Component: django.core.mail | Version: 1.0 Keywords: authentication email smtp | Stage: Unreviewed Has_patch: 0 | ---------------------------------------+------------------------------------ A wrongly configured SMTP server that requires authentication can advertise CRAM-MD5 as an accepted authentication method but fail when the client tries to use it. Most email clients would try other methods after the failure, but Python's smtplib just raises SMTPAuthException. This makes sending emails from Django with such servers impossible.
The attached patch adds the EMAIL_FORCE_PLAIN_AUTH setting which, if True, forces the use of the PLAIN method in django.core.mail.SMTPConnection.open(). -- Ticket URL: <http://code.djangoproject.com/ticket/9488> 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 [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 -~----------~----~----~----~------~----~------~--~---
