[Answered ]-Advices for sending email in Django app from Vagrant box

2👍

Django had an email backend that outputs the email to the console. Add this to your settings:

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

Also you can run a python SMTP server with:

python -m smtpd -n -c DebuggingServer localhost:1025

Please, check this https://docs.djangoproject.com/en/dev/topics/email/#testing-email-sending

Leave a comment