#6989: Inability to define DNS_NAME in django.core.mail results in e-mail messages being rejected or marked as spam -------------------------------------+------------------------------------- Reporter: Franklin | Owner: heathervm Type: Bug | Status: assigned Component: Core (Mail) | Version: master Severity: Normal | Resolution: Keywords: local_hostname, | Triage Stage: Accepted DNS_NAME, CachedDnsName, smtplib, | SMTPConnection | Has patch: 1 | Needs documentation: 1 Needs tests: 0 | Patch needs improvement: 1 Easy pickings: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by Diederik van der Boor): I bumbed into this again, in the end I had to fix this by patching: `django.core.mail.utils.DNS_NAME._fqdn = "my.desired.host"` -- Ticket URL: <https://code.djangoproject.com/ticket/6989#comment:21> Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/066.ce3534051a37c824bf38247b1da472b5%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.