Mail_Queue::sendMailsInQueue
Вернуться к: Mail_Queue
Mail_Queue::sendMailsInQueue
Synopsis
mixed Mail_Queue::sendMailsInQueue ( integer $limit = MAILQUEUE_ALL , integer $offset = MAILQUEUE_START , integer $try = MAILQUEUE_TRY , string or array $callback = null )
Sends mails remaining in queue.
Parameter
- integer $limit
-
Optional - maximum number of mails to send.
- integer $offset
-
Optional - skip $offset mails and start sending from there.
- integer $try
-
Optional - count of tries before mail returns to queue for later delivery.
- string $callback
-
Optional - details of callback function to be used after mail has been sent.
Return value
returnsTrue on success else Mail_Queue_Error object.
Throws
throws no exceptions thrown
Note
This function can not be called statically.
Вернуться к: Mail_Queue