RE: [PHP] Mail Function Problem
| From: | Alice Wei | Date: | Tue, 13 Apr 2010 03:24:05 +0000 |
| Subject: | RE: [PHP] Mail Function Problem | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-304020@lists.php.net to get a copy of this message | ||
> From: kranthi117@gmail.com
> Date: Tue, 13 Apr 2010 07:41:19 +0530
> Subject: Re: [PHP] Mail Function Problem
> To: ajwei@alumni.iu.edu
> CC: kdk@daleco.biz; php-general@lists.php.net
>
> 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