Ticket #11849: patch.diff
File patch.diff, 638 bytes (added by , 15 years ago) |
---|
-
mail.py
112 112 self.port = port or settings.EMAIL_PORT 113 113 self.username = username or settings.EMAIL_HOST_USER 114 114 self.password = password or settings.EMAIL_HOST_PASSWORD 115 self.use_tls = (use_tls is not None) and use_tls or settings.EMAIL_USE_TLS 115 116 if use_tls is not None: 117 self.use_tls = use_tls 118 else: 119 self.use_tls = settings.EMAIL_USE_TLS 120 116 121 self.fail_silently = fail_silently 117 122 self.connection = None 118 123