Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Django send_mail results in error 61 refused on Mac OSX

Running into a very stange error. I'm running Django on my Mac OSX and when I tried to send an email from my application it hangs and gives me this error: "Error 61 Connection Refused"

Any ideas? I don't have my firewall turned on. I can upload an image of the error if needed.

like image 348
mymmaster Avatar asked Apr 20 '10 00:04

mymmaster


1 Answers

Have you actually configured the EMAIL_* settings in settings.py? Error 61 is the error you get if you leave it on the default values and you don't have a local SMTP server running.

Alternatively, as Peter suggests, if you have set it up then you might need to use authentication with your SMTP server.

like image 52
Daniel Roseman Avatar answered Sep 29 '22 15:09

Daniel Roseman