You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
When using the EsmtpTransport transport with tls encryption I receive a PHP warning:
PHP Warning: stream_socket_enable_crypto(): When enabling encryption you must specify the crypto type in .../vendor/symfony/mailer/Transport/Smtp/Stream/SocketStream.php on line 156
How to reproduce
$transport = (new EsmtpTransport('example.com', 587, 'tls'))
->setUsername('...')
->setPassword('...');
Possible Solution
Honestly I have no clue on how stream_socket_enable_crypto should work, sorry.