宝塔724运维节来了,企业版999元/年,送安全巡检;证书组队,低至28元!查看活动
当前位置:论坛首页 > Linux面板 > 求助

[求助]宝塔面板设置—消息通道—发送者邮箱设置

发表在 Linux面板2020-5-17 13:10 [复制链接] 1 3100

设置邮件发送者的smtp信息提交后一直显示设置中……后刷新页面查看面板日志如下:

[2020-05-17 11:49:54,538] ERROR in app: Exception on /config [POST]Traceback (most recent call last):
  File "class/flask_sockets.py", line 30, in __call__
    handler, values = adapter.match()
  File "/usr/local/lib/python3.8/site-packages/werkzeug/routing.py", line 1945, in match
    raise NotFound()
werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 2447, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1952, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1821, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/local/lib/python3.8/site-packages/flask/_compat.py", line 39, in reraise
    raise value
  File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1950, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1936, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/www/server/panel/BTPanel/__init__.py", line 696, in config
    return publicObject(config.config(),defs,None,pdata)
  File "/www/server/panel/BTPanel/__init__.py", line 1166, in publicObject
    result =  p.run(toObject,defs,get)
  File "/www/server/panel/BTPanel/__init__.py", line 1341, in run
    result =  public.GetJson(eval(fun)),json_header
  File "", line 1, in
  File "class/config.py", line 75, in user_mail_send
    self.mail.qq_stmp_insert(get.email.strip(), get.stmp_pwd.strip(), get.hosts.strip(),get.port.strip())
AttributeError: 'config' object has no attribute 'mail'



使用道具 举报 只看该作者 回复
发表于 2020-5-18 09:44:09 | 显示全部楼层
修改一下面板。然后重新设置看看
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术免费分析

工作时间:09:00至18:30

快速回复 返回顶部 返回列表