我使用django allauth进行用户注册,我希望用户确认他们的电子邮件
现在,我收到以下错误,因为我的网络服务器不允许通过端口550发送电子邮件
SMTPSenderRefused at /accounts/password/reset/
(550, '5.0.0 Access denied', u'webmaster@localhost')
Request Method: POST
Request URL: http://<mysite>.com/accounts/password/reset/
Django Version: 1.9
Exception Type: SMTPSenderRefused
Exception Value:
(550, '5.0.0 Access denied', u'webmaster@localhost')
Exception Location: /usr/local/lib/python2.7/smtplib.py in sendmail, line 731
Python Executable: /home/public/env/bin/python2.7
我联系过我的网络托管人员,他们说他们只允许通过/usr/bin/sendmail可执行文件发出电子邮件
有没有办法修改django allauth,使电子邮件机制使用sendmail可执行文件?在
例如通过Gmail发送的设置:
相关问题 更多 >
编程相关推荐