> From: kranthi117@xxxxxxxxx > Date: Tue, 13 Apr 2010 07:41:19 +0530 > Subject: Re: Mail Function Problem > To: ajwei@xxxxxxxxxxxxx > CC: kdk@xxxxxxxxxx; php-general@xxxxxxxxxxxxx > > thats weired... > Mail.php contains the class Mail. So getting a "class not found" error > is not possible... (require_once stops the script in case it can't > find Mail.php) > >> Do I need to move the Mail PEAR class to the same folder as my web folder > ensure that C:/xampp/php/PEAR folder is added to your include list I thought so too, this is what I have in my php.ini: ; PHP's default setting for include_path is ".;/path/to/php/pear" ; http://php.net/include-path include_path = ".;C:\xampp\php\PEAR" This is the contents of my C:\xampp\php\PEAR\Mail: mail.php mime.php mimeDecode.php mimePart.php null.php RFC822.php sendmail.php smtp.php Unless, I have to do require_once("mail.php")? I am getting confused. Alice _________________________________________________________________ Hotmail is redefining busy with tools for the New Busy. Get more from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2