Skip to content

Commit 0469f36

Browse files
committed
[Mailer] Fix SMTP Authentication when using STARTTLS
1 parent e201d8b commit 0469f36

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

EsmtpTransport.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ protected function doHeloCommand(): void
115115

116116
try {
117117
$response = $this->executeCommand(sprintf("EHLO %s\r\n", $this->getLocalDomain()), [250]);
118+
$capabilities = $this->getCapabilities($response);
118119
} catch (TransportExceptionInterface $e) {
119120
parent::doHeloCommand();
120121

Smtp/EsmtpTransport.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ protected function doHeloCommand(): void
115115

116116
try {
117117
$response = $this->executeCommand(sprintf("EHLO %s\r\n", $this->getLocalDomain()), [250]);
118+
$capabilities = $this->getCapabilities($response);
118119
} catch (TransportExceptionInterface $e) {
119120
parent::doHeloCommand();
120121

Transport/Smtp/EsmtpTransport.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ protected function doHeloCommand(): void
115115

116116
try {
117117
$response = $this->executeCommand(sprintf("EHLO %s\r\n", $this->getLocalDomain()), [250]);
118+
$capabilities = $this->getCapabilities($response);
118119
} catch (TransportExceptionInterface $e) {
119120
parent::doHeloCommand();
120121

0 commit comments

Comments
 (0)