Свойство | Тип | Описание | |
---|---|---|---|
$_code | security code - prevent oustide interferrence | ||
$_failed | |||
$_hash | the email hash array('email' => 'subscriber_id') | ||
$_id | The ID of the current mailing | ||
$_mailer | the poMMo mailer | ||
$_mailing | the current mailing (object) body, serial, code, etc! | ||
$_maxRunTime | Number of seconds the MTA process is allowed to run for. | ||
$_queue | the current queue, holds an array of subscriber objects | ||
$_queueSize | Attempted number of mails to process per queue batch. | ||
$_sent | |||
$_serial | serial of mailing, prevents 2 scripts from working on the same mailing | ||
$_skipSecurity | (bool) Skip Security checks | ||
$_start | Time the MTA process began | ||
$_test | (bool) True if this is a test mailing | ||
$_throttler | the throttle object |
Метод | Описание | |
---|---|---|
Pommo_Mta ( $args = [] ) | Register function that will be called when the script terminates abruptly. | |
attach ( $name, &$obj ) | ||
poll ( ) | Retrieves the current command from the DB and acts based on that. | |
processQueue ( ) | continually sends mails from the queue until mailing completes or max runtime reached | |
pullQueue ( ) | Verify if there are still subscribers to whom the mailing hasn't been sent. If there aren't, stop. If there are: Get some subscribers from the DB. | |
pushThrottler ( ) | pushes queue into throttler | |
shutdown ( $msg = false, $destroy = true ) | ||
stop ( $finish = false ) | ||
update ( ) | accepts a array of sent emails |
public Pommo_Mta ( $args = [] ) |
public processQueue ( ) |
public pullQueue ( ) |
public $_maxRunTime |
public $_queueSize |
public $_serial |