
使用PostMan进行测试发送报错

但是用Python进行测试又可以
————————————————
postman 报错
————————————————- Traceback (most recent call last):<br>
- File "class/flask_sockets.py", line 30, in __call__<br>
- handler, values = adapter.match()<br>
- File "/www/server/panel/pyenv/lib/python3.7/site-packages/werkzeug/routing.py", line 1945, in match<br>
- raise NotFound()<br>
- 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.<br>
- <br>
- During handling of the above exception, another exception occurred:<br>
- <br>
- Traceback (most recent call last):<br>
- File "/www/server/panel/BTPanel/__init__.py", line 1372, in panel_other<br>
- data = eval('plu.' + fun + '(args)')<br>
- File "<string>", line 1, in <module><br>
- File "/www/server/panel/plugin/mail_sys/mail_sys_main.py", line 1123, in send_mail_http<br>
- mail_from = args.mail_from<br>
- AttributeError: 'dict_obj' object has no attribute 'mail_from'<br>
复制代码
|