PHP Class Phosphorum\Mail\SendSpool

Sends e-mails to users in the spool
Inheritance: extends Phalcon\Di\Injectable
ファイルを表示 Open project: phalcon/forum Class Usage Examples

Protected Properties

Property Type Description
$mailer
$transport

Public Methods

Method Description
consumeQueue ( ) Check the queue from Beanstalk and send the notifications scheduled there
send ( Phosphorum\Models\Notifications $notification )
sendRemaining ( ) Check notifications marked as not send on the databases and send them

Method Details

consumeQueue() public method

Check the queue from Beanstalk and send the notifications scheduled there
public consumeQueue ( )

send() public method

public send ( Phosphorum\Models\Notifications $notification )
$notification Phosphorum\Models\Notifications

sendRemaining() public method

Check notifications marked as not send on the databases and send them
public sendRemaining ( )

Property Details

$mailer protected_oe property

protected $mailer

$transport protected_oe property

protected $transport