Inbound Email configuration / no connecting to the server

Hi all,

We had have upgrade our Sugar instance from Version 8 to Version 9.0.5.
All requirements are set. SugarCRM is running on a Windows server, IIS Web server, Database is Oracle 12c, PHP 7.1.23

Since the upgrade the handshake to the email-server can not established anymore. The error comes from a CRM Plugin called Laminas-mail, which was brought new in one version between 9.0 and 9.0.5.

Connection (via cURL) from CRM Webserver can be established. Password, User name are valid, also Server name and port.

Sugar Support can not help and suggested to ask the dev club.

I am a bit lost right now. Is there someone which faced the same or similar issues?

Any help would very much appreciated.

Thank you!
Rene

PHP Log

PHP Fatal error: Uncaught ErrorException: fsockopen(): unable to connect to <SERVER>:993 (A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
) in D:\www\crm\vendor\laminas\laminas-mail\src\Protocol\Imap.php:91

SUGAR LOG

Next Laminas\Mail\Protocol\Exception\RuntimeException: cannot connect to host ; error = fsockopen(): unable to connect to ssl://imap4.comm........info:993 (Unknown error) (errno = 0 ) in D:\www\crm\vendor\laminas\laminas-mail\src\Protocol\Imap.php:94
Stack trace:
#0 D:\www\crm\vendor\laminas\laminas-mail\src\Protocol\Imap.php(45): Laminas\Mail\Protocol\Imap->connect('ssl://imap4.com...', 993, 'ssl')
#1 D:\www\crm\modules\Mailer\ImapMailer.php(85): Laminas\Mail\Protocol\Imap->__construct('imap4.comm.........', 993, 'ssl')
#2 D:\www\crm\modules\Mailer\ImapMailer.php(67): ImapMailer->createConnection()
#3 D:\www\crm\modules\InboundEmail\InboundEmail.php(5495): ImapMailer->__construct(Object(Mailbox), 'R1\\pre-case-sup...', 'Passwort1234.', '')
#4 D:\www\crm\modules\InboundEmail\InboundEmail.php(2483): InboundEmail->getImapMailer(Object(Mailbox))
#5 D:\www\crm\modules\InboundEmail\Save.php(69): InboundEmail->preConnectMailServer(true, '<USERNAME>', '<PASS>.', Object(RemoteSystemName), '993', 'imap', 'INBOX', '')
#6 D:\www\crm\include\MVC\View\SugarView.php(550): require_once('D:\\www\\crm\\modu...')
#7 D:\www\crm\include\MVC\View\views\view.classic.php(43): SugarView->includeClassicFile('modules/Inbound...')
#8 D:\www\crm\include\MVC\View\SugarView.php(152): ViewClassic->display(Array)
#9 D:\www\crm\include\MVC\Controller\SugarController.php(360): SugarView->process(Array)
#10 D:\www\crm\include\MVC\Controller\SugarController.php(308): SugarController->processView()
#11 D:\www\crm\include\MVC\SugarApplication.php(199): SugarController->execute()
#12 D:\www\crm\index.php(27): SugarApplication->execute()
#13 {main}