Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 709d56f

Browse files
committed
fix(mailjet-smtp): disable tls for mailjet as it should use starttls instead
1 parent 877b173 commit 709d56f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Mailer/Bridge/Mailjet/Transport/MailjetSmtpTransport.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class MailjetSmtpTransport extends EsmtpTransport
1919
{
2020
public function __construct(string $username, #[\SensitiveParameter] string $password, EventDispatcherInterface $dispatcher = null, LoggerInterface $logger = null)
2121
{
22-
parent::__construct('in-v3.mailjet.com', 587, true, $dispatcher, $logger);
22+
parent::__construct('in-v3.mailjet.com', 587, false, $dispatcher, $logger);
2323

2424
$this->setUsername($username);
2525
$this->setPassword($password);

0 commit comments

Comments
 (0)