By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,972 Members | 883 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,972 IT Pros & Developers. It's quick & easy.

Please Help Me Find "mail.php" from PEAR Package

P: 9
I have Apache 2.2 server running on Windows XP SP2 with PHP 5.2.5.

I have run go-pear.bat in PHP directory (system-wide, all defaults).

Running “pear” command lists additional commands.

I cannot find “mail.php” on local drives (performed a Windows search).

Using “mail.php” from separate PEAR package does not solve the problem, since "mail" class is not recognized then.

What can I do to make the script, which requires “mail.php”, run?

Thank you very much.
Dec 11 '07 #1
Share this Question
Share on Google+
1 Reply


P: 9
vps
Solved it:

Mail is a subpackage (a class and a subclass) which has to be installed separately, and it requires smtp.php and socket.php to function.

All of them can be downloaded from http://pear.php.net/packages.php.
Dec 12 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.