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.
$limit
Optional - maximum number of mails to send.
$offset
Optional - skip $offset mails and start sending from there.
$try
Optional - count of tries before mail returns to queue for later delivery.
$callback
Optional - details of callback function to be used after mail has been sent.
returnsTrue on success else Mail_Queue_Error object.
throws no exceptions thrown
This function can not be called statically.