On 07/25/2017 01:21 PM, Rafael Mora wrote:
# To be added to Django's settings.py
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' EMAIL_HOST = 'localhost' EMAIL_PORT = 25 EMAIL_HOST_USER = <username> EMAIL_HOST_PASSWORD = <password>
What should I use for username and password? Should I keep the localhost on the host param?
If you want Django (i.e. Postorius, Hyperkitty and Django admin/auth/etc.) to deliver via localhost, you don't need EMAIL_HOST_USER and EMAIL_HOST_PASSWORD. Those are only for authentication to some other host.