I’,m trying help to a small business and I am trying to use CRM Suite 8.4.2, and I have 2 problems that I think are associated with the same thing.
- Admin → Inbound Mail (settings):
when I set my “INBOUND EMAIL ACCOUNTS” → edit: select a “MONITORED FOLDERS:*” (I can attach my folders without problems) and then when I put donde, in the general log (suitecrm.log) apears:
[8505][1][FATAL] An Imap error detected: “[8505][1][FATAL] An Imap error detected: “IMAP close error””, may be the issue is in the code 1 or 2 attached in the .txt.
(test options for imap works good (I think))
- when I access my email, although it is true I can see what is in the inbox, but when I select sent or another folder, the log at that moment (seen by the console through a tail) gives me the error : “[1][FATAL] ImapHandler trying to use a non valid resource stream.”
I have uploaded 2 example photos,
I think the error is in:
/var/www/SuiteCRM/public/legacy/modules/InboundEmail/InboundEmail.php
but I don’t know what should be corrected
ERROR IN LOGS
Sun Jul 14 18:04:45 2024 [8492][1][FATAL] ImapHandler trying to use a non valid resource stream.
PATH: /var/www/SuiteCRM/public/legacy/modules/InboundEmail/InboundEmail.php
I found in InboundEmail.php the 3 code fragments “protected function getImapConnection”, “foundGoodConnection”,
and “public function connectMailserver” what section did I code and what part should I modify specifically?
Note I have tested version
SuiteCRM_7.14.4
SuiteCRM_8.4.2
and the error is the same with Gmail