[Mailer] Fix STARTTLS support for Postmark and Mandrill
This commit is contained in:
parent
592a31a5e6
commit
44b27c6816
@ -22,7 +22,7 @@ class MandrillSmtpTransport extends EsmtpTransport
|
|||||||
{
|
{
|
||||||
public function __construct(string $username, string $password, EventDispatcherInterface $dispatcher = null, LoggerInterface $logger = null)
|
public function __construct(string $username, string $password, EventDispatcherInterface $dispatcher = null, LoggerInterface $logger = null)
|
||||||
{
|
{
|
||||||
parent::__construct('smtp.mandrillapp.com', 587, true, $dispatcher, $logger);
|
parent::__construct('smtp.mandrillapp.com', 587, false, $dispatcher, $logger);
|
||||||
|
|
||||||
$this->setUsername($username);
|
$this->setUsername($username);
|
||||||
$this->setPassword($password);
|
$this->setPassword($password);
|
||||||
|
@ -26,7 +26,7 @@ class PostmarkSmtpTransport extends EsmtpTransport
|
|||||||
{
|
{
|
||||||
public function __construct(string $id, EventDispatcherInterface $dispatcher = null, LoggerInterface $logger = null)
|
public function __construct(string $id, EventDispatcherInterface $dispatcher = null, LoggerInterface $logger = null)
|
||||||
{
|
{
|
||||||
parent::__construct('smtp.postmarkapp.com', 587, true, $dispatcher, $logger);
|
parent::__construct('smtp.postmarkapp.com', 587, false, $dispatcher, $logger);
|
||||||
|
|
||||||
$this->setUsername($id);
|
$this->setUsername($id);
|
||||||
$this->setPassword($id);
|
$this->setPassword($id);
|
||||||
|
Reference in New Issue
Block a user