method getNextMailing documentation in bbn\Appui\Mailing

Returns the next mailing to process if any.

function() { if ($this->check() && ($id = $this->db->selectOne( 'bbn_emailings', 'id', [ ['state', 'LIKE', 'ready'], ['sent', '<', Date('Y-m-d H:i:s')], ['sent', 'isnotnull'] ], ['sent' => 'ASC'] )) ) { return $this->getMailing($id); } return null; }

Returns the next mailing to process if any. BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.