Error opening mailbox: IMAP connection broken

behinam

Well-Known Member
May 9, 2017
48
3
8
Dubay
cPanel Access Level
Root Administrator
My server Imap not work.
I test this with PHP code and I give this error:
Error opening mailbox: [CLOSED] IMAP connection broken (server response)

my URL is:
- Removed -

I check Firewall and ports and PHP extensions but I can't find any problem.
Does someone have an idea?
 
Last edited by a moderator:

behinam

Well-Known Member
May 9, 2017
48
3
8
Dubay
cPanel Access Level
Root Administrator
in my module i see this error:
IMAP method imap_open() failed with error: Certificate failure for mail.xxxxxx.com: Server name does not match certificate: /CN=srv.xxxxxx.com

in Mailbox.php line 878
at Mailbox->imap('open', array('{mail.xxxxxx.com:995/imap/ssl}INBOX', '[email protected]', 'PASSWORD', 0, 0, array()), false, 'PhpImap\\ConnectionException')in Mailbox.php line 148