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

Skip to content

Commit 1f3ea1b

Browse files
jannick-holmfabpot
authored andcommitted
[Mailer] Allow manually start() of SmtpTransport
1 parent 6e3d5c1 commit 1f3ea1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Mailer/Transport/Smtp/SmtpTransport.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ private function doRcptToCommand(string $address): void
240240
$this->executeCommand(sprintf("RCPT TO:<%s>\r\n", $address), [250, 251, 252]);
241241
}
242242

243-
private function start(): void
243+
public function start(): void
244244
{
245245
if ($this->started) {
246246
return;

0 commit comments

Comments
 (0)