While trying to test the Mail Marketing Feature, I get the following error message:
Something went wrong, an error occurred while running [Mail Server]!
TypeError: list indices must be integers or slices, not str
REQUEST_DATE: 2025-07-30 17:28:59
PAN_VERSION: 2.9.0
OS_VERSION: Debian GNU/Linux 12 x86_64(Py3.12.3)
REMOTE_ADDR: 208.102.157.25
REQUEST_URI: POST /v2/plugin%3Faction%3Da%26amp%3Bname%3Dmail_sys%26amp%3Bs%3Dsend_mail_test
REQUEST_FORM: {'mail_from': '', 'subject': 'Take Art Home', 'mail_to': ' REMOVED', 'temp_id': '2'}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36 Edg/138.0.0.0
Traceback (most recent call last):
File "/www/server/panel/class_v2/panel_plugin_v2.py", line 2672, in a
return public.run_plugin_v2(get.name, get.s, get)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/class/public/common.py", line 8779, in run_plugin_v2
raise PanelError(res['msg'])
public.exceptions.PanelError: An error occurred while the panel was running: Traceback (most recent call last):
File "/www/server/panel/plugin/mail_sys/mail_sys_main.py", line 2918, in send_mail_test
return SendMailBulk().send_mail_test(args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/class/public/authorization.py", line 18, in _wrap_func
5wsVwKLrIjIWqeTNpSVp9QTt7cfctJxFcP1K2GEaeg4lggtrX3gVvMBQ1nHqYsYA
^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/plugin/mail_sys/mail_send_bulk.py", line 2184, in send_mail_test
w5c1X4oC3wu6Ez2aWYokg22K2Vm8nbWyd7SKgXzYF9E6s/FC0op4W8EAKNfpJCdTv8qXHtTM7GFvGtKtBlTdzg==
~~~~~~~~~~~~~~
TypeError: list indices must be integers or slices, not str
How can I get this resolved so I can test and send out bulk e-mails to customers or is it something you have to do in the code?