PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Mail » Mail_Queue » Bug #4092

sendMail() doesn't flag mail as sent

Details

Submitted2005-04-06 23:16 UTC
Fromtoma at etree dot org
Assignedquipo
StatusClosed
PackageMail_Queue
PHP Version5.0.3
OSLinux
Roadmaps(Not assigned)

Comments

[2005-04-06 23:16 UTC] toma at etree dot org

Description:
------------
The example 44-5 doesn't work because emails sent using that method are not flagged as sent using the setAsSent method.

work around:

// loop through the stored emails and send them
while ($mail = $mail_queue->get()) {
$result = $mail_queue->sendMail($mail);
$mail_queue->container->setAsSent($mail);
}
?>