Skip to content

Commit 16c8a94

Browse files
committed
use STARTTLS for SMTP with MailerSend
1 parent 76060fa commit 16c8a94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Mailer/Bridge/MailerSend/Transport/MailerSendSmtpTransport.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ final class MailerSendSmtpTransport extends EsmtpTransport
2222
{
2323
public function __construct(string $username, #[\SensitiveParameter] string $password, ?EventDispatcherInterface $dispatcher = null, ?LoggerInterface $logger = null)
2424
{
25-
parent::__construct('smtp.mailersend.net', 587, true, $dispatcher, $logger);
25+
parent::__construct('smtp.mailersend.net', 587, false, $dispatcher, $logger);
2626

2727
$this->setUsername($username);
2828
$this->setPassword($password);

0 commit comments

Comments
 (0)