diff --git a/src/Illuminate/Mail/TransportManager.php b/src/Illuminate/Mail/TransportManager.php index 582fac60d10a..8111fa733341 100644 --- a/src/Illuminate/Mail/TransportManager.php +++ b/src/Illuminate/Mail/TransportManager.php @@ -44,6 +44,10 @@ protected function createSmtpDriver() $transport->setPassword($config['password']); } + + if (isset($config['stream'])) { + $transport->setStreamOptions($config['stream']); + } return $transport; }