You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is an issue when forwarding mails with attachments, in particular mails from a gmail account
This particular issue arises like this:
I have a gmail account. In it, there is a mail which was forwarded to me from somewhere else. It has an attachment (.pptx file).
Now, if I try to forward this mail further, using cypht, I get the following error in the cypht logs after pressing "Send".
Cypht does not send the mail, and reports an error in the GUI.
cypht-1 | NOTICE: PHP message: PHP Fatal error: Uncaught TypeError: explode(): Argument #2 ($string) must be of type string, array given in /usr/local/share/cypht/modules/smtp/modules.php:1860
cypht-1 | Stack trace:
cypht-1 | #0 /usr/local/share/cypht/modules/smtp/modules.php(1860): explode()
cypht-1 | #1 /usr/local/share/cypht/modules/smtp/modules.php(1872): get_uploaded_files_from_array()
cypht-1 | #2 /usr/local/share/cypht/modules/smtp/modules.php(1930): prepare_draft_mime()
cypht-1 | #3 /usr/local/share/cypht/modules/smtp/modules.php(348): save_imap_draft()
cypht-1 | #4 /usr/local/share/cypht/lib/modules_exec.php(178): Hm_Handler_smtp_save_draft->process()
cypht-1 | #5 /usr/local/share/cypht/lib/modules_exec.php(155): Hm_Module_Exec->run_handler_module()
cypht-1 | #6 /usr/local/share/cypht/lib/dispatch.php(220): Hm_Module_Exec->run_handler_modules()
cypht-1 | #7 /usr/local/share/cypht/lib/dispatch.php(188): Hm_Dispatch->process_request()
cypht-1 | #8 /usr/local/share/cypht/site/index.php(53): Hm_Dispatch->__construct()
cypht-1 | #9 {main}
cypht-1 | thrown in /usr/local/share/cypht/modules/smtp/modules.php on line 1860
Version & Environment
git commit 15ff855
OS: linux - docker image (on linux host)
The text was updated successfully, but these errors were encountered:
🐛 Bug
There is an issue when forwarding mails with attachments, in particular mails from a gmail account
This particular issue arises like this:
I have a gmail account. In it, there is a mail which was forwarded to me from somewhere else. It has an attachment (.pptx file).
Now, if I try to forward this mail further, using cypht, I get the following error in the cypht logs after pressing "Send".
Cypht does not send the mail, and reports an error in the GUI.
Version & Environment
git commit 15ff855
OS: linux - docker image (on linux host)
The text was updated successfully, but these errors were encountered: