I've added the following to my settings/base.py file in a wagtail project. However, I'm not getting e-mails to send (i.e. activation emails).
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_USE_TLS = True
EMAIL_HOST = 'smtp.webfaction.com'
EMAIL_HOST_USER = 'email@example.com'
EMAIL_HOST_PASSWORD = LOCALPASSWORD
EMAIL_PORT = 587
Have I missed something?
Turns out this might actually be a Ubuntu problem. Will comment back if I get it sorted
FWIW, some server providers block port 587 (DigitalOcean does that for example) and you have to ask them to open it. The django logs may give some clues.