Skip to content

Commit

Permalink
Ensure TransportExceptionInterface populates stream debug data
Browse files Browse the repository at this point in the history
  • Loading branch information
bytestream committed Jan 24, 2025
1 parent f8a50c1 commit e93a6ae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Transport/Smtp/SmtpTransport.php
Original file line number Diff line number Diff line change
Expand Up @@ -205,11 +205,11 @@ protected function doSend(SentMessage $message): void
$this->ping();
}

if (!$this->started) {
$this->start();
}

try {
if (!$this->started) {
$this->start();
}

$envelope = $message->getEnvelope();
$this->doMailFromCommand($envelope->getSender()->getEncodedAddress());
foreach ($envelope->getRecipients() as $recipient) {
Expand Down

0 comments on commit e93a6ae

Please sign in to comment.