Commit 7c0e654f authored by Simon Gadient's avatar Simon Gadient

[FEATURE] Recover spool command

Mails that got stuck in sending (e.g. SMTP timeout) will get recovered
and sent on the next flush.

refs KIME-3340
parent 24db3244
......@@ -86,7 +86,7 @@ class SwiftMailerSpoolCommandController extends CommandController {
$spool = $this->spoolMailer->getTransport()->getSpool();
if ($spool instanceof \Swift_FileSpool) {
$spool->recover();
$this->logger->log('Mails recovered.', LOG_DEBUG, 'SwiftMailerSpool');
$this->logger->log('Mails recovered. Run flush to re-send.', LOG_DEBUG, 'SwiftMailerSpool');
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment