Skip to content

Commit

Permalink
Set smtp as default scheme which is in the supported schemes list fro…
Browse files Browse the repository at this point in the history
…m Symfony Mailer
  • Loading branch information
gabsource authored Nov 29, 2024
1 parent 8ffd13c commit 90f397a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Mail/MailManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ protected function createSmtpTransport(array $config)
if (! $scheme) {
$scheme = ! empty($config['encryption']) && $config['encryption'] === 'tls'
? (($config['port'] == 465) ? 'smtps' : 'smtp')
: '';
: 'smtp';
}

$transport = $factory->create(new Dsn(
Expand Down

0 comments on commit 90f397a

Please sign in to comment.