I have been having this issue for ages and only now am getting time to look into it.
My shotgun event framework never sends any emails when things fail.
I had a look at the code and found this bit:
smtp = smtplib.SMTP() smtp.connect(self.mailhost, port)
I simplified this and tried to run:
smtp = smtplib.SMTP() smtp.connect('smtp.gmail.com', 465)
This freezes the python interpreter so am assuming this is the culprit?!
Or am I barking up the wrong tree?
If it is, how can this be fixed so I can finally rely on getting emails when the event daemon runs into trouble?