Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

django EMAIL_BACKEND console

EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'

'''Console backend¶
Instead of sending out real emails the console backend just writes the emails that would be sent to the standard output. By default, the console backend writes to stdout. You can use a different stream-like object by providing the stream keyword argument when constructing the connection.

To specify this backend, put the following in your settings:'''
Source by docs.djangoproject.com #
 
PREVIOUS NEXT
Tagged: #django #console
ADD COMMENT
Topic
Name
3+1 =