Can you check in the database and see if the email account is indeed saved as “993”. I kind of remember a bug where the SSL wasn’t saving in the DB for the configuration, but it maybe that the port is not saving. I would double check that if you know how to check in the DB.
I added that to the config_override.php and ran a repair, i no longer get the port error message, but when trying to load a folder a window pops up and quickly disappears. Suitecrm shows nothing in the log, but apache has the following:
PHP Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, string given in /var/www/html/public/legacy/modules/InboundEmail/InboundEmail.php:6386\nStack trace:\n#0 /var/www/html/public/legacy/modules/InboundEmail/InboundEmail.php(6386): in_array()\n#1 /var/www/html/public/legacy/modules/InboundEmail/Popup.php(138): InboundEmail->connectMailserver()\n#2 /var/www/html/public/legacy/include/MVC/View/SugarView.php(800): include_once(‘…’)\n#3 /var/www/html/public/legacy/include/MVC/View/views/view.classic.php(72): SugarView->includeClassicFile()\n#4 /var/www/html/public/legacy/include/MVC/View/SugarView.php(210): ViewClassic->display()\n#5 /var/www/html/public/legacy/include/MVC/Controller/SugarController.php(432): SugarView->process()\n#6 /var/www/html/public/legacy/include/MVC/Controller/SugarController.php(363): SugarController->processView()\n#7 /var/www/html/public/legacy/include/MVC/SugarApplication.php(101): SugarController->execute()\n#8 /var/www/html/public/legacy/index.php(52): SugarApplication->execute()\n#9 {main}\n thrown in /var/www/html/public/legacy/modules/InboundEmail/InboundEmail.php on line 6386, referer: https://www.mysite.co.uk/legacy/index.php?return_module=InboundEmail&return_action=DetailView&return_id=809a0e06-cef0-2116-1bce-63f7c1057993&module=InboundEmail&action=EditView&record=809a0e06-cef0-2116-1bce-63f7c1057993
sorry not sure how to format that so its more readable
I just realised what i had done, i couldnt figure how to put an array in config_override so just put port 993 to test.
Going back to follow your message properly and adding the array to config.php, and it now works!!! (apart from subject and from fields are empty - but that’s another issue i suppose)
Same problem. After upgrade from 8.4.1 to 8.4.2 i got Invalid port provided: ‘993’
Then i added this to config.php:
‘valid_imap_ports’ =>
array (
0 => ‘110’,
1 => ‘143’,
2 => ‘993’,
0 => ‘995’,
),
Now when i test a connection a window pops up and quickly disappears. Emails module shows no emails.
I believe this code only came into SuiteCRM precisely between 8.4.1 and 8.4.2. It’s new.
And I guess 993 should be in there as a default…
EDIT: it is!
I guess the only thing that is wrong is that for people with upgrades, maybe this code in make_sugar_config never runs to update the config:
Maybe in Admin / Repairs / Rebuild config this can be fixed without having to change any files manually. I wouldn’t test this without backing up my config.php first, though.
Feels like this 8.4.2 version is good to go back to BETA.
Also, what exactly is the point of adding a setting that does not work when before was working without problems?
Also, I’m really having some difficulties understanding why these changes are introduced in a patch update instead of a minor at least. Makes no sense. …