May 2018
Beginner to intermediate
526 pages
11h 57m
English
Sending emails with Django is pretty straightforward. First, you will need to have a local SMTP server or define the configuration of an external SMTP server by adding the following settings in the settings.py file of your project:
If you cannot use an SMTP server, you can tell Django to write emails to the console by adding the following setting to the settings.py file:
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' ...
Read now
Unlock full access