Email console backend via docker logs not accessible

34 views
Skip to first unread message

Gil Obradors

unread,
Nov 3, 2020, 1:33:00 PM11/3/20
to Django developers (Contributions to Django itself)

Hi,
My name is Gil, new from here from Spain.
A pleasure trying to contribute content to this wonderful project

I'm dealiing with a project dockerized. I have seen when you have configured 'django.core.mail.backends.console.EmailBackend' as EMAIL_BACKEND the emails are written to stdout. In docker env this messages  are not seen.

It's a better approuch to make a patch so that this email is sent by logging debug, instead of stdout ?

If it's worth it, I'll try to write it down

Thanks and see you soon!


PD: tested in Django 3.1.3



Gil Obradors

unread,
Nov 3, 2020, 1:42:56 PM11/3/20
to django-d...@googlegroups.com
Sorry, my fault
The email is not sent if there isnt password set.

Working fine  with docker.



El dt., 3 de nov. 2020, 19:32, Gil Obradors <gil.ob...@gmail.com> va escriure:
--
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-develop...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/df58d993-8c11-4e4d-812e-dd3c808d73b0n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages