I use an smtp server that requires smtplib.SMTP_SSL class to be used for email sending. The usual EMAIL_USE_TSL=True setting doesn`t work.
Changing following lines in the django.core.mail module from self.connection = smtplib.SMTP(self.host, self.port, local_hostname=DNS_NAME.get_fqdn()) to self.connection = smtplib.SMTP(self.host, self.port, # port here set to 487 in the settings.py module local_hostname=DNS_NAME.get_fqdn()) seems to fix the problem. I wonder if there is a reasonable way to fix the issue without touching core django code?
-- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.