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
Hello!!!
We have the following problem: laminas/laminas-mail cannot process some emails and convert them into Requests in GLPI 9.5.13.
The emails that laminas/laminas-mail does not want to process are created by an "internal php script" (i.e. it has nothing to do with external sites and works only in the internal environment), which collects the necessary data and converts it into an email that is sent to Gmail, from which GLPI 9.5.13 is collected. The emails successfully reach the mailbox, but when trying to collect such emails, mailgate gives "errors" "false=1, blocked= N".When opening the logs "php-errors.log" we have the following text:
[Date Time] glpiphplog.CRITICAL: *** Uncaught Exception Laminas\Mail\Header\Exception\InvalidArgumentException: Invalid header value detected in /var/www/html/vendor/laminas/laminas-mail/src/Header/GenericHeader.php at line 64
Backtrace :
vendor/laminas/laminas-mail/src/Headers.php:544 Laminas\Mail\Header\GenericHeader::splitHeaderLine()
vendor/laminas/laminas-mail/src/Headers.php:284 Laminas\Mail\Headers->loadHeader()
vendor/laminas/laminas-mail/src/Headers.php:105 Laminas\Mail\Headers->addHeaderLine()
...r/laminas/laminas-mail/src/Storage/Part.php:113 Laminas\Mail\Headers::fromString()
...laminas/laminas-mail/src/Storage/Message.php:53 Laminas\Mail\Storage\Part->__construct()
...or/laminas/laminas-mail/src/Storage/Pop3.php:64 Laminas\Mail\Storage\Message->__construct()
...aminas-mail/src/Storage/AbstractStorage.php:268 Laminas\Mail\Storage\Pop3->getMessage()
inc/mailcollector.class.php:721 Laminas\Mail\Storage\AbstractStorage->current()
inc/mailcollector.class.php:1762 MailCollector->collect()
inc/crontask.class.php:943 MailCollector::cronMailgate()
front/cron.php:83 CronTask::launch()
Other emails are processed without any problems. Is it possible to configure so that emails from such a script are processed without problems? They are not spam and are sent only to the selected mail.
Thank you
The text was updated successfully, but these errors were encountered:
Bug Report
Summary
Hello!!!
We have the following problem: laminas/laminas-mail cannot process some emails and convert them into Requests in GLPI 9.5.13.
The emails that laminas/laminas-mail does not want to process are created by an "internal php script" (i.e. it has nothing to do with external sites and works only in the internal environment), which collects the necessary data and converts it into an email that is sent to Gmail, from which GLPI 9.5.13 is collected. The emails successfully reach the mailbox, but when trying to collect such emails, mailgate gives "errors" "false=1, blocked= N".When opening the logs "php-errors.log" we have the following text:
Other emails are processed without any problems. Is it possible to configure so that emails from such a script are processed without problems? They are not spam and are sent only to the selected mail.
Thank you
The text was updated successfully, but these errors were encountered: