I've got a bit of a mystery. I've got a Django Wagtail project with Spirit as an added app. I'm trying to get the e-mail system working...
I've included the following in settings/base.py
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_USE_TLS = True
EMAIL_HOST_USER = EMAIL_NAME
EMAIL_HOST_PASSWORD = PASSWORD
EMAIL_PORT = 587
DEFAULT_FROM_EMAIL = EMAIL_NAME
ADMINS = (
('You', EMAIL_NAME),
)
MANAGERS = ADMINS
I then ran the following test
from django.conf import settings
from django.core.mail import send_mail
The output from this in the console suggests the e-mail sent...
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: test
From:
mye...@gmail.comTo:
other...@gmail.comDate: Tue, 09 Jul 2019 14:14:42 -0000
Message-ID: <randomly generated message ID>
test message
-------------------------------------------------------------------------------
However... nothing arrives at the e-mail address. All email addresses and passwords are correct and have been double and triple checked.
Any thoughts on to what I might be missing?
Cheers all.