public function mainAction() { echo "\n Send email for post reply\n"; $spool = new SendSpool(); try { var_dump($spool->sendRemaining()); } catch (Exception $e) { echo $e->getMessage(), PHP_EOL; echo $e->getTraceAsString(); } }
public function mainAction() { Output::stdout('Send email for post reply'); $spool = new SendSpool(); try { var_dump($spool->consumeQueue()); } catch (Exception $e) { echo $e->getMessage(), PHP_EOL; echo $e->getTraceAsString(); } }