email backend console django code example

Example: 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:'''