bug #35518 [Mailer] Fix STARTTLS support for Postmark and Mandrill (fabpot)
This PR was merged into the 4.4 branch.
Discussion
----------
[Mailer] Fix STARTTLS support for Postmark and Mandrill
| Q | A
| ------------- | ---
| Branch? | 4.4
| Bug fix? | yes
| New feature? | no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tickets | Fix #34846 <!-- prefix each issue number with "Fix #", if any -->
| License | MIT
| Doc PR | n/a
Commits
-------
44b27c6816
[Mailer] Fix STARTTLS support for Postmark and Mandrill
This commit is contained in:
commit
6b0103ec5a
@ -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