I never tried sending emails programmatically before. Do I need to set up a SMTP server on my local machine or something? Or can I use someone else's SMTP server (maybe Gmail's)?
Everytime Django registration is trying to send an email I get the error [Errno 61] Connection refused
.
Here is the traceback. And a partial screenshot of the error screen:
I would appreciate any introductory explanations or beginner tutorials with Django and emails. Thanks!
The basics of email sending are detailed quite well in the documentation. For development purposes - a dummy backend is provided; it basically acts like a email server so you can validate your email sending logic.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With