note 125105 added to function.imap-open

From: Date: Tue, 09 Jun 2020 21:05:55 +0000
Subject: note 125105 added to function.imap-open
Groups: php.notes 
Request: Send a blank email to php-notes+get-214752@lists.php.net to get a copy of this message
imap_open supports SSL/TLS and start-TLS, and also totally unencrypted sessions. The documentation here slightly conflates things. Where it is referring to SSL (/ssl) it is really referring to SSL/TLS of the immediate variety. The initial connection will immediately be SSL/TLS, rather than later upgraded. (I don't know the specifics about which versions of SSL/TLS c-client is going to be negotiating/using.) The '/tls' and '/notls' options are just about start-TLS, i.e. upgraded connections. Note there is a '/notls' option but not a '/nossl' option. That is because by default c-client is going to upgrade to TLS (start-TLS) when it sees it as an advertised option by the IMAP server. i.e. it is going to do it based on auto-detection. The '/notls' option disables that auto-detection, which is sometimes necessary. For example, I just helped someone whose IMAP server advertises start-TLS to connections on port 143 but it actually only works on port 993. Regular SSL/TLS doesn't do any auto-detection as the connection mode has to be explicitly made upfront anyway. ---- Server IP: 45.112.84.4 Probable Submitter: 103.51.166.36 (proxied: 65.26.220.245) ---- Manual Page -- http://php.net/manual/en/function.imap-open.php Edit -- https://master.php.net/note/edit/125105 Del: integrated -- https://master.php.net/note/delete/125105/integrated Del: useless -- https://master.php.net/note/delete/125105/useless Del: bad code -- https://master.php.net/note/delete/125105/bad+code Del: spam -- https://master.php.net/note/delete/125105/spam Del: non-english -- https://master.php.net/note/delete/125105/non-english Del: in docs -- https://master.php.net/note/delete/125105/in+docs Del: other reasons-- https://master.php.net/note/delete/125105 Reject -- https://master.php.net/note/reject/125105 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#214752) next »