当前位置:论坛首页 > Linux面板 > 求助

宝塔邮局API报错

发表在 Linux面板2021-6-24 09:09 [复制链接] 1 1794

报错信息:
  1. Traceback (most recent call last):
  2. File "class/flask_sockets.py", line 30, in __call__
  3. handler, values = adapter.match()
  4. File "/www/server/panel/pyenv/lib/python3.7/site-packages/werkzeug/routing.py", line 1945, in match
  5. raise NotFound()
  6. 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.

  7. During handling of the above exception, another exception occurred:

  8. Traceback (most recent call last):
  9. File "/www/server/panel/BTPanel/__init__.py", line 1412, in panel_other
  10. data = eval('plu.' + fun + '(args)')
  11. File "", line 1, in
  12. File "/www/server/panel/plugin/mail_sys/mail_sys_main.py", line 1177, in send_mail_http
  13. mail_from = args.mail_from
  14. AttributeError: 'dict_obj' object has no attribute 'mail_from'
复制代码
第二个我知道,你们那个写法不行,但是第一个说404,我就不能理解了啊,我写的就是
  1. /mail_sys/send_mail_http.json
复制代码
这个路径啊,但是还是错啊
使用道具 举报 只看该作者 回复
发表于 2021-7-10 16:35:15 | 显示全部楼层
这个宝塔邮局的API文档看不懂,不知道放在网页端系统的哪里,要是有详细教程就好了
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

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

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

紧急运维服务

响应时间:3分钟

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

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

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

点击联系技术免费分析

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

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