8000 Change the default port for the mailgun SMTP transport to 587 · symfony/symfony@ef6d944 · GitHub
[go: up one dir, main page]

Skip to content

Commit ef6d944

Browse files
author
Sander De la Marche
committed
Change the default port for the mailgun SMTP transport to 587
1 parent c2090d3 commit ef6d944

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Mailer/Bridge/Mailgun/Transport/MailgunSmtpTransport.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class MailgunSmtpTransport extends EsmtpTransport
2424

2525
public function __construct(string $username, #[\SensitiveParameter] string $password, string $region = null, EventDispatcherInterface $dispatcher = null, LoggerInterface $logger = null)
2626
{
27-
parent::__construct('us' !== ($region ?: 'us') ? sprintf('smtp.%s.mailgun.org', $region) : 'smtp.mailgun.org', 465, true, $dispatcher, $logger);
27+
parent::__construct('us' !== ($region ?: 'us') ? sprintf('smtp.%s.mailgun.org', $region) : 'smtp.mailgun.org', 587, true, $dispatcher, $logger);
2828

2929
$this->setUsername($username);
3030
$this->setPassword($password);

0 commit comments

Comments
 (0)
0