-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GLPI 9.5.1 mailgate e queuenotifications não funcionam #7732
Comments
Hi, Please use english please. Regards |
Excuse me! I'll try ... I've been using the email collector since versions 9.xx and everything worked fine. However, when I upgraded to glpi 9.5.0, I had problems. After that, I upgraded to 9.5.1, it only worked on the day of the update, but then again presented the same problem in emails. When you click Get emails, a white screen opens. Clicking on run mailgate opens a white screen. Anyway, problem with mailgate and queuenotifications in versions 9.5.0 and 9.5.1. Both versions do not work. Please, I need help! |
No meu aparece este erro no PHP Erros Percebi que tem a ver com anexo no email [2020-07-20 11:45:24] glpiphplog.CRITICAL: *** Uncaught Exception Laminas\Mail\Header\Exception\InvalidArgumentException: Invalid header line for Content-Disposition string - incomplete continuation in /usr/share/glpi/vendor/laminas/laminas-mail/src/Header/ContentDisposition.php at line 84 |
Error that is displayed in php_errors.log: glpiphplog.CRITICAL: *** Uncaught Exception Laminas\Mail\Storage\Exception\InvalidArgumentException: Header with Name to or to not found in www\glpi\vendor\laminas\laminas-mail\src\Storage\Part.php at line 307 |
Try to move the mails from Mailbox to some subfolder, then try again! |
I did not understand what this could contribute to the case. The problem is not in the e-mails inbox, but in the GLPI as reported error (php-errors.log). |
:) The Header is the problem. |
Thank you very much. I did what you said and it worked again. Is there a risk of it happening again or is it now solved? |
It is GLPI Bug. But I thought it was fixed! |
Hi @jehann , Can you provide the full log stack ? Regards |
Hi @fbcaetano , Can you give us the eml export of the email causing this issue ? Regards |
Strange, because I didn't change the password after updating. In version 9.5.1, I had to enter the password again and it worked for a few hours and then it stopped working. Yesterday it returned to work after moving the emails of the inbox as suggested by the husisusi. At this point, it is functioning normally. |
Hello! Today, mailgate has stopped working and displays the following messages: Notice: Undefined index: users_id in ...\glpi\inc\mailcollector.class.php on line 741 NOTE: Nothing has been changed in the GLPI to start displaying this message. |
I have set up a rule for a long time so that when I receive a certain email, a call is automatically opened. The email has a pattern. I realized that the problem is happening with these emails after updating to version 9.5.1. I already tried to mark the field with INBOX as mentioned by @ cedric-anne and with these emails in the inbox I have an error in the mailgate. When moving these messages to another folder, as instructed by @husisusi, the mailgate will work again. What can I do in these cases to resolve (GLPI open the ticket when receiving the email, as I did before the update)? Problem started only when I upgraded to versions 9.5.x. Below the error when the mentioned email is in the inbox: [2020-07-23 08:24:23] glpiphplog.CRITICAL: *** Uncaught Exception Laminas\Mail\Storage\Exception\InvalidArgumentException: Header with Name to or to not found in ...\glpi\vendor\laminas\laminas-mail\src\Storage\Part.php at line 307 |
@jehann |
This error has been fixed in GLPI 9.5.1. Did you modified |
When an error occurs, we need the full stack trace to be able to analyze the problem correctly. Please provide it next time. |
@cedric-anne |
And in GLPI 9.5.1, |
Can you compare your code with https://github.com/glpi-project/glpi/blob/9.5.1/inc/mailcollector.class.php ? |
Can I copy this code (mailcollector.class.php) and replace the file? I find it very strange, because I did a new installation. I didn't understand how this file got different. |
I replaced the file and it went back to work. I realized that the date of the replaced file was not the same as the other files (version 9.5.1). Anyway, it worked again. Thank you very much @cedric-anne and @husisusi for your attention, patience and help. |
Eu utilizo o coletor de emails desde as versões 9.xx e tudo funcionou bem. Porém, quando eu atualizei para glpi 9.5.0, tive problemas. Depois disso, atualizei para a 9.5.1, funcionou apenas no dia da atualização mas depois voltou a apresentar o mesmo problema nos e-mails.
Enfim, problema em mailgate e queuenotifications nas versões 9.5.0 e 9.5.1. Nas duas versões não funcionam.
The text was updated successfully, but these errors were encountered: