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
When trying to set up a massmailing and trying to send a Test mail I fail with an error when using PHP8.2, but all is fine with PHP7.4. I use Password and Swift Mailer socket library (smtp.office365.com)
AH01071: Got error 'PHP message: PHP Fatal error: Uncaught TypeError: preg_split(): Argument #2 ($subject) must be of type string, array given in /htdocs/includes/swiftmailer/lib/classes/Swift/Mime/Headers/AbstractHeader.php:312\nStack trace:\n#0 /htdocs/includes/swiftmailer/lib/classes/Swift/Mime/Headers/AbstractHeader.php(312): preg_split()\n#1 /htdocs/includes/swiftmailer/lib/classes/Swift/Mime/Headers/AbstractHeader.php(259): Swift_Mime_Headers_AbstractHeader->getEncodableWordTokens()\n#2 /htdocs/includes/swiftmailer/lib/classes/Swift/Mime/Headers/UnstructuredHeader.php(103): Swift_Mime_Headers_AbstractHeader->encodeWords()\n#3 /htdocs/includes/swiftmailer/lib/classes/Swift/Mime/SimpleHeaderSet.php(309): Swift_Mime_Headers_UnstructuredHeader->getFieldBody()\n#4 /htdocs/...', referer: https://WWW.XXX/XXX/htdocs/comm/mailing/card.php?action=test&token=c9911ad4d077eabb07f5597a92641508&id=15
Dolibarr Version
19.0.3
Environment PHP
PHP 8.2.15
Environment Database
Maria
Steps to reproduce the behavior and expected behavior
No response
Attached files
No response
The text was updated successfully, but these errors were encountered:
Bug
When trying to set up a massmailing and trying to send a Test mail I fail with an error when using PHP8.2, but all is fine with PHP7.4. I use Password and Swift Mailer socket library (smtp.office365.com)
AH01071: Got error 'PHP message: PHP Fatal error: Uncaught TypeError: preg_split(): Argument #2 ($subject) must be of type string, array given in /htdocs/includes/swiftmailer/lib/classes/Swift/Mime/Headers/AbstractHeader.php:312\nStack trace:\n#0 /htdocs/includes/swiftmailer/lib/classes/Swift/Mime/Headers/AbstractHeader.php(312): preg_split()\n#1 /htdocs/includes/swiftmailer/lib/classes/Swift/Mime/Headers/AbstractHeader.php(259): Swift_Mime_Headers_AbstractHeader->getEncodableWordTokens()\n#2 /htdocs/includes/swiftmailer/lib/classes/Swift/Mime/Headers/UnstructuredHeader.php(103): Swift_Mime_Headers_AbstractHeader->encodeWords()\n#3 /htdocs/includes/swiftmailer/lib/classes/Swift/Mime/SimpleHeaderSet.php(309): Swift_Mime_Headers_UnstructuredHeader->getFieldBody()\n#4 /htdocs/...', referer: https://WWW.XXX/XXX/htdocs/comm/mailing/card.php?action=test&token=c9911ad4d077eabb07f5597a92641508&id=15
Dolibarr Version
19.0.3
Environment PHP
PHP 8.2.15
Environment Database
Maria
Steps to reproduce the behavior and expected behavior
No response
Attached files
No response
The text was updated successfully, but these errors were encountered: