PEAR Manual
Prev |  | Next

# Mail_Queue::sendMailById()

Mail_Queue::sendMailById() -- Send a specific mail.

## Synopsis

    require_once 'Mail/Queue.php';

``bool Mail_Queue::sendMailById` (integer $id)`

## Description

Sends a single mail from the queue specified by $id. Note: The queue entry will not be deleted automatically after delivery!

## Parameter

integer `$id`

  Mail identifier

## Return value

returns True on success else false

## Throws

throws no exceptions thrown

## Note

This function can not be called statically.

Prev | Home | Next
Mail_Queue::sendMail() | Up | Mail_Queue::sendMailsInQueue()