Error opening mailbox: IMAP connection broken
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?
-
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', 'MAIL@xxxxxx.com', 'PASSWORD', 0, 0, array()), false, 'PhpImap\\ConnectionException')in Mailbox.php line 148 0 -
This thread reads like you're attempting to connect to IMAP via a script, is that correct? 0 -
It took me a while to figure this out. Assuming a Let's Encrypt certificate, this worked for me: [CODE=php]$mbox = imap_open("{mail.example.com:993/imap/ssl/novalidate-cert}INBOX", "bounce@example.com", "PASSWORD"); 0
Please sign in to leave a comment.
Comments
3 comments