开发者

django.core.mail send_email with secure connection

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!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜