Followed this question: Django registration email not sending but realized this is for https://github.com/macropin/django-registration not https://github.com/ubernostrum/django-registration which is what I need.
Unfortunately, there is nothing about this in their docs about SMTP: http://django-registration.readthedocs.io
ve is my app and I've tested my SMTP creds on a 3rd party app and I got an email just fine. Tried on localhost and live site as well.
settings.py
INSTALLED_APPS = [
'registration',
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
've',
'widget_tweaks',
]
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = '***'
EMAIL_HOST_PASSWORD = '***'
EMAIL_HOST_USER = '***'
EMAIL_PORT = 587
EMAIL_USE_TLS = True
DEFAULT_FROM_EMAIL = 'noreply@***'
urls.py
from django.conf.urls import url, include
from django.contrib import admin
from django.conf import settings
from django.conf.urls.static import static
urlpatterns = [
url(r'^admin/', admin.site.urls),
url(r'^accounts/', include('registration.backends.simple.urls')),
url(r'', include('ve.urls', namespace='ve')),
]
if settings.DEBUG:
urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)