Phosphorum\Mail\SendSpool::sendRemaining PHP Méthode

sendRemaining() public méthode

Check notifications marked as not send on the databases and send them
public sendRemaining ( )
    public function sendRemaining()
    {
        foreach (Notifications::find('sent = "N"') as $notification) {
            $this->send($notification);
        }
    }

Usage Example

Exemple #1
0
 public function run()
 {
     $spool = new SendSpool();
     $spool->sendRemaining();
 }