I usually disable email on my dev instance, but it didn't work on PianoTell with Flarum 2 either:
[2025-11-30T19:59:34.133082+00:00] flarum.ERROR: Symfony\Component\Mailer\Exception\TransportException: Connection could not be established with host "ssl://smtp.gmail.com:587": stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
error:0A00010B:SSL routines::wrong version number in /var/www/html/vendor/symfony/mailer/Transport/Smtp/Stream/SocketStream.php:154
Stack trace:
#0 [internal function]: Symfony\Component\Mailer\Transport\Smtp\Stream\SocketStream->Symfony\Component\Mailer\Transport\Smtp\Stream\{closure}(2, 'stream_socket_c...', '/var/www/html/v...', 157)
#1 /var/www/html/vendor/symfony/mailer/Transport/Smtp/Stream/SocketStream.php(157): stream_socket_client('ssl://smtp.gmai...', 0, '', 60.0, 4, Resource id #203)