8000 [Mailer] Fix STARTTLS support for Postmark and Mandrill · symfony/symfony@44b27c6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 44b27c6

Browse files
committed
[Mailer] Fix STARTTLS support for Postmark and Mandrill
1 parent 592a31a commit 44b27c6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Symfony/Component/Mailer/Bridge/Mailchimp/Transport/MandrillSmtpTransport.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class MandrillSmtpTransport extends EsmtpTransport
2222
{
2323
public function __construct(string $username, string $password, EventDispatcherInterface $dispatcher = null, LoggerInterface $logger = null)
2424
{
25-
parent::__construct('smtp.mandrillapp.com', 587, true, $dispatcher, $logger);
25+
parent::__construct('smtp.mandrillapp.com', 587, false, $dispatcher, $logger);
2626

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

src/Symfony/Component/Mailer/Bridge/Postmark/Transport/PostmarkSmtpTransport.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class PostmarkSmtpTransport extends EsmtpTransport
2626
{
2727
public function __construct(string $id, EventDispatcherInterface $dispatcher = null, LoggerInterface $logger = null)
2828
{
29-
parent::__construct('smtp.postmarkapp.com', 587, true, $dispatcher, $logger);
29+
parent::__construct('smtp.postmarkapp.com', 587, false, $dispatcher, $logger);
3030

3131
$this->setUsername($id);
3232
$this->setPassword($id);

0 commit comments

Comments
 (0)
0