Closed thedatamineio closed 4 years ago
I had the same issue and came accross this on stackoverflow, which solved it for me:
https://stackoverflow.com/questions/49697705/issues-printing-django-email-to-console
Essentially, you just need to setup the smtp information, even if you're not using it. Here's the example code you can copy and paste:
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' EMAIL_HOST = 'smtp.gmail.com' EMAIL_HOST_USER = 'myemailaddress@gmail.com' EMAIL_HOST_PASSWORD = 'mypassword' EMAIL_USE_TLS = True EMAIL_PORT = 587 DEFAULT_FROM_EMAIL = EMAIL_HOST_USER
@thedatamineio have you been able to resolve your problem?
yes, thank you
On Mon, Aug 3, 2020 at 1:00 PM Christian Benke notifications@github.com wrote:
@thedatamineio https://github.com/thedatamineio have you been able to resolve your problem?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/anexia-it/django-rest-passwordreset/issues/94#issuecomment-667958184, or unsubscribe https://github.com/notifications/unsubscribe-auth/AN7RIAAYJAXJDUS4D56N6FDR62KERANCNFSM4MXWZTDA .
I have followed everything in the docs. But it is not sending me the email i am using console backend. EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
Can you please help with complete example i don't know where i am messing up.
Thank you