Skip to content

Commit

Permalink
use forceReconnection method (#16298)
Browse files Browse the repository at this point in the history
  • Loading branch information
TsvetomirCh authored and taylorotwell committed Nov 7, 2016
1 parent 1badfbd commit 8c8eb21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Mail/Mailer.php
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ protected function sendSwiftMessage($message)
try {
return $this->swift->send($message, $this->failedRecipients);
} finally {
$this->swift->getTransport()->stop();
$this->forceReconnection();
}
}

Expand Down

0 comments on commit 8c8eb21

Please sign in to comment.