If you have an SMTP or IMAP server that has a self signed certifcate, you will need to make 2 file edits to prevent a connection failure.
src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php
Paste this after :
src/vendor/laminas/laminas-mail/src/Protocol/Imap.php
Replace this :
With this :
Crédit : bottiger
src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php
Paste this after :
PHP:
$options = [];
Pour consulter le contenu, vous devez : Se connecter ou S'inscrire.
src/vendor/laminas/laminas-mail/src/Protocol/Imap.php
Replace this :
PHP:
$this->socket = fsockopen($host, $port, $errno, $errstr, self::TIMEOUT_CONNECTION);
With this :
Pour consulter le contenu, vous devez : Se connecter ou S'inscrire.
Crédit : bottiger
