Re: PHP - mail() function problem
| From: | Jason Wong | Date: | Sat, 17 Aug 2002 18:19:47 +0000 |
| Subject: | Re: PHP - mail() function problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-113087@lists.php.net to get a copy of this message | ||
On Saturday 17 August 2002 21:08, N. Pari Purna Chand wrote:
> Hi guys,
>
> I am facing a strange problem,
> php's mail() function is not working when a php page is executed thru
> apache,
> but the same page which has mail() function is working fine and is sending
> mails
> when php is used as a scripting language in shell.
Is this on the same machine? If so, check that both the apache-php and the
cgi-php are using the same php.ini (and hence same sendmail settings).
> Any guess what might be causing the problem ?
Try comparing php.ini.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
Heard that the next Space Shuttle is supposed to carry several Guernsey cows?
It's gonna be the herd shot 'round the world.
*/