相关疑难解决方法(0)

/ accounts/signup /的SMTPDataError(553,b'Relaying不允许作为网站管理员@ localhost')

我正在使用Django 1.7并进行身份验证我正在使用Django allauth.为了发送电子邮件,我开始使用zoho smtp服务器.它能够发送普通和交易邮件,但无法发送注册会话电子邮件.它显示错误:

SMTPDataError at /accounts/signup/
(553, b'Relaying disallowed as webmaster@localhost')
Run Code Online (Sandbox Code Playgroud)

追溯是:

69.             return self.dispatch(request, *args, **kwargs)
File "C:\Python34\lib\site-packages\django\utils\decorators.py" in _wrapper
  29.             return bound_func(*args, **kwargs)
File "C:\Python34\lib\site-packages\django\views\decorators\debug.py" in sensitive_post_parameters_wrapper
  76.             return view(request, *args, **kwargs)
File "C:\Python34\lib\site-packages\django\utils\decorators.py" in bound_func
  25.                 return func.__get__(self, type(self))(*args2, **kwargs2)
File "C:\Users\sp\industryo\allauth\account\views.py" in dispatch
  167.         return super(SignupView, self).dispatch(request, *args, **kwargs)
File "C:\Users\sp\industryo\allauth\account\views.py" in dispatch
  62.                                             **kwargs)
File "C:\Users\sp\industryo\allauth\account\views.py" in dispatch
  145.                                                           **kwargs)
File "C:\Python34\lib\site-packages\django\views\generic\base.py" in dispatch
  87.         return handler(request, *args, **kwargs)
File "C:\Users\sp\industryo\allauth\account\views.py" in post
  78. …
Run Code Online (Sandbox Code Playgroud)

django smtp zoho django-allauth

4
推荐指数
1
解决办法
1507
查看次数

标签 统计

django ×1

django-allauth ×1

smtp ×1

zoho ×1