Python Django Authentication Authentication Resetting Passwords

Greg Kaleka
Greg Kaleka
38,993 Points

Django filebased email backend not working

Following along with the video, I'm not able to get file based email to work. No sent_emails folder is created. Any ideas on what I'm doing wrong?


Here's a snapshot of my workspace

1 Answer

Ryan S
Ryan S
27,263 Points

Hi Greg,

I'm not sure if you got this working yet, but I'll answer in case anyone else has trouble with this since I had the same problem.

The key to this is found in the 'done' message:

We've emailed you instructions for setting your password, if an account exists with the email you entered. You should receive them shortly.

The emails will only be sent if you use an email that is already associated with a registered user. At first, I was trying it with my own email and nothing would happen. I later realized that I had not created a user with that email. When I entered Kenneth's, exactly as he has it in the video, everything worked.