문제

Im trying to use django send_email function but it fails on authentication. In fact, django returns me message along the lines - ssl not found in this django installation.

I do have ssl-1.15 on my pythonpath and i could import it without errors. So the problem is probably with the certificates, right?

Now is there some kind of tutorial or example for generating those certificates, since the pakcage contains none. Could the problem be elsewhere?

Alan

도움이 되었습니까?

해결책

Have you tried importing ssl-1.15 from within Django? In other words, start ./manage.py shell and try to import ssl-1.15.

Did you find this example? And this one may even be better!

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top