note 130019 added to function.imap-open
| From: | jab_creations@yahoo.com | Date: | Tue, 11 Feb 2025 15:55:18 +0000 |
| Subject: | note 130019 added to function.imap-open | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-221841@lists.php.net to get a copy of this message | ||
I was receiving the following error while trying to add the /secure flag and verify that the /ssl
flag was using TLS 1.2 instead of the very outdated SSL protocol:
PHP Request Shutdown: Can't do secure authentication with this server (errflg=2)
I ended up having to call my host to get help as there were literally only five pages in the search
engines with the error. The mailbox configuration:
Before / incorrect / error:
<?php
$server_folder = '{mail.example.com:993/imap/ssl/secure}';
?>
After / correct / connected:
<?php
$server_folder = '{mail.example.com:993/ssl/imap/secure}';
?>
The /ssl and /imap flags were not in the correct order. Here is the thing, the flags listed above do
NOT mention a strict chronological order of flags and are themselves no listed in the chronological
order. So that right there is a bug report needed for the documentation though hopefully this
comment will spare someone the aggravation for seemingly random errors. Good luck!
----
Server IP: 45.112.84.4
Probable Submitter: 45.112.84.18 (proxied: 72.14.148.44)
----
Manual Page -- https://php.net/manual/en/function.imap-open.php
Edit -- https://main.php.net/note/edit/130019
Del: integrated -- https://main.php.net/note/delete/130019/integrated
Del: useless -- https://main.php.net/note/delete/130019/useless
Del: bad code -- https://main.php.net/note/delete/130019/bad+code
Del: spam -- https://main.php.net/note/delete/130019/spam
Del: non-english -- https://main.php.net/note/delete/130019/non-english
Del: in docs -- https://main.php.net/note/delete/130019/in+docs
Del: other reasons-- https://main.php.net/note/delete/130019
Reject -- https://main.php.net/note/reject/130019
Search -- https://main.php.net/manage/user-notes.php