Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python Django Authentication Authentication Resetting Passwords

Greg Kaleka
Greg Kaleka
39,021 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,276 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.