主页
  • 文章
  • ChatGPT
  • 在线编程
    • pygame-ide-online
  • 关于
  • 登录
  • 注册
原创 django邮件配置支持465端口SSL协议
兜兜    2017-11-01 11:33:22    2018-11-01 11:33:22   

python django 邮件
安装django-smtp-ssl ```bash $ pip install django-smtp-ssl ``` 修改settings.py的 ```py EMAIL_BACKEND = 'django_smtp_ssl.SSLEmailBackend' EMAIL_HOST = 'mail.example.com' EMAIL_PORT = 465 ```
阅读 981 评论 0 收藏 0
阅读 981
评论 0
收藏 0


©2012-2023 ynotes.cn 版权所有 粤ICP备18092754号