PEAR Manual
Prev |  | Next

# Mail_Queue::sendMailsInQueue()

Mail_Queue::sendMailsInQueue() -- Send mails from queue.

## Synopsis

    require_once 'Mail/Queue.php';

``mixed Mail_Queue::sendMailsInQueue` ([integer $limit = MAILQUEUE_ALL [, integer $offset = MAILQUEUE_START [, integer $try = MAILQUEUE_TRY]]])`

## Description

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.

## Return value

returnsTrue on success else Mail_Queue_Error object.

## Throws

throws no exceptions thrown

## Note

This function can not be called statically.

Prev | Home | Next
Mail_Queue::sendMailById() | Up | Math