From: listread on
I'm trying to learn about using Pear Mail_Queue on a Windows server
running Apache and PHP 5.2x.

I have set up the example at
http://pear.php.net/manual/en/package.mail.mail-queue.mail-queue.tutorial.php
and have run into a snag with the sample cconfig.php. It requires
"Mail/Queue.php", but I'm getting the error, "*Warning*:
require_once(Mail/Queue.php) [function.require-once
<http://localhost/www.mofirst.org/LibertyTools/mail/function.require-once>]:
failed to open stream: No such file or directory in..."

Is Queue.php part of the Pear distribution or another package? Can you
point me to another tutorial that shows how to queue mail and,
preferably, also send attachments to bulk recipients?

Thanks!

- Ron

From: Christian Weiske on
Hello Ron,


> I have set up the example at
> http://pear.php.net/manual/en/package.mail.mail-queue.mail-queue.tutorial..php
> and have run into a snag with the sample cconfig.php. It requires
> "Mail/Queue.php", but I'm getting the error, "*Warning*:
> require_once(Mail/Queue.php) [function.require-once
> <http://localhost/www.mofirst.org/LibertyTools/mail/function.require-once>]:
> failed to open stream: No such file or directory in..."
>
> Is Queue.php part of the Pear distribution or another package? Can
> you point me to another tutorial that shows how to queue mail and,
> preferably, also send attachments to bulk recipients?

The file is included in the package, see
$ pear list mail_queue
for a file list.

You need to setup your include path correctly, see
http://pear.php.net/manual/en/installation.checking.php

--
Regards/Mit freundlichen Grüßen
Christian Weiske

-=≡ Geeking around in the name of science since 1982 ≡=-