Hi, there's already a ticket: https://code.djangoproject.com/ticket/6989

On Friday, December 20, 2019 at 7:33:35 AM UTC-5, David Nolan wrote:
>
> Hey all.
>
> In cloud environments, when using 
> django.core.mail.backends.smtp.EmailBackend, socket.getfqdn() is called 
> to resolve the 'reported hostname' for smtplib. This often resolves to an 
> internal DNS name, not the intended name.
>
> It would be convenient to provide a kwarg to allow overriding this 
> setting, which is currently hard-coded in the open() function.
> See 
> https://github.com/django/django/blob/master/django/core/mail/backends/smtp.py#L53
>
> I’m happy to create a ticket for this but the contribution guidelines 
> advise emailing the list first.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/b7246683-5f94-4e83-9310-d7ed698fbb82%40googlegroups.com.

Reply via email to