Changes between Version 1 and Version 2 of Ticket #27131, comment 4


Ignore:
Timestamp:
Aug 27, 2016, 4:21:47 PM (8 years ago)
Author:
Slava

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #27131, comment 4

    v1 v2  
    11I have checked for python3 everything is ok, because of with python3 Django passes password as string to smtplib, so this error is relevant only for python2.
    2 For fix in `__init__` in django/core/mail/backends/smtp.py we should add something like this:
     2For fix in django/core/mail/backends/smtp.py in `EmailBackend.__init__` we should add something like this:
    33{{{
    44if self.password.__class__.__name__ == 'unicode':
Back to Top