PEAR Manual
Prev |  | Next

# Mail_Queue::sendMail()

Mail_Queue::sendMail() -- Sends mail object returned by Mail_Queue::get()

## Synopsis

    require_once 'Mail/Queue.php';

``mixed Mail_Queue::sendMail` (object MailBody $mail)`

## Description

Sends mail object returned by Mail_Queue::get().

## Parameter

object MailBody `$mail`

  Mail object.

## Return value

returns True on success else pear error class

## Throws

throws no exceptions thrown

## Note

This function can not be called statically.

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