Hi,
I'm using the "mailman-suite" setup for Postorious and Hyperkitty.
I've set
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' EMAIL_HOST = 'localhost'
in settings.py, but no mails are sent. Files with the e-mails are in the emails folder, but nothing happens, also no errors regarding emails are logged.
Postfix as MTA can be connected via localhost:25 and e.g. mailman-core can use it fine.
What can I do for further debugging?
Kind regards Bjoern Franke
On 10/12/2017 12:27 PM, Bjoern Franke wrote:
Hi,
I'm using the "mailman-suite" setup for Postorious and Hyperkitty.
I've set
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' EMAIL_HOST = 'localhost' You can just remove the settings to fallback to the defaults (that's what I do) in settings.py, but no mails are sent. Files with the e-mails are in the emails folder, but nothing happens, also no errors regarding emails are logged. What did you have before that? It looks like django isn't using your "new" settings Did you restart django/uwsgi/gunicorn or whatever you are using?
On Fri, Oct 13, 2017, at 02:36 AM, Simon Hanna wrote:
On 10/12/2017 12:27 PM, Bjoern Franke wrote:
Hi,
I'm using the "mailman-suite" setup for Postorious and Hyperkitty.
I've set
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' EMAIL_HOST = 'localhost' You can just remove the settings to fallback to the defaults (that's what I do)
The default setting is set to 'django.core.mail.backends.console.EmailBackend'1 in mailman-suite, so that wouldn't help.
in settings.py, but no mails are sent. Files with the e-mails are in the emails folder, but nothing happens, also no errors regarding emails are logged.
It looks like an issue because you probably have DEBUG=True, which will make Django use 'django.core.mail.backends.filebased.EmailBackend'. See 2.
-- Abhilash Raj maxking@asynchronous.in
Hi,
It looks like an issue because you probably have DEBUG=True, which will make Django use 'django.core.mail.backends.filebased.EmailBackend'. See [2].
Thanks for the hint, I've overlooked this setting and was completely focused to the django.core.mail.backends.smtp.EmailBackend setting before.
Kind regards Bjoern Franke
participants (3)
-
Abhilash Raj
-
Bjoern Franke
-
Simon Hanna