Re: something wrong at my mail set up in php.ini
| From: | Hrishi | Date: | Mon, 19 Feb 2001 12:54:26 +0000 |
| Subject: | Re: something wrong at my mail set up in php.ini | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-40561@lists.php.net to get a copy of this message | ||
> Is there anyway I can see if script mail() does not work and see what the
> problem is? Jack
Hey Jack,
take this line and put it before the part of the code that sends the mail:
<? error_reporting(63); ?>
this turns on ALL error reporting, so make sure yuo use it only for debugging.
also, if you dont see any warnings despite the above line, you can be sure
its a configuration problem.
cheers,
Hrishi