We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a206ff commit 65d8c16Copy full SHA for 65d8c16
framework/core/src/Mail/SmtpDriver.php
@@ -53,7 +53,7 @@ public function canSend(): bool
53
public function buildTransport(SettingsRepositoryInterface $settings): TransportInterface
54
{
55
return $this->factory->create(new Dsn(
56
- $settings->get('mail_encryption') === 'tls' ? 'smtps' : '',
+ $settings->get('mail_encryption') === 'tls' ? 'smtps' : 'smtp',
57
$settings->get('mail_host'),
58
$settings->get('mail_username'),
59
$settings->get('mail_password'),
0 commit comments