[Answered ]-How to fix Network is unreachable with django's send_mail?

2👍

Since you’re only using your phone when doing local development, maybe it is an option to not actually send the email, but just print it to the console.

To do that, put this in your settings:

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

It is documented here.

Leave a comment