Re: mail function

From: Date: Sun, 20 Jul 2003 17:36:27 +0000
Subject: Re: mail function
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-155986@lists.php.net to get a copy of this message
On Sunday 20 July 2003 23:00, Peda wrote: > I put this PHP script on web server: > > <?php > if (mail("ena-mona@eunet.yu", "brati", "peda", "From: > Peda")== TRUE) > print("U redu je"); > else > print("Greska"); > ?> > > But It seems that mail function doesn't work. I don't get any e-mail. > > Can anyone tell me what is wrong. Check your php error logs and your mailserver logs. A good and quick way to check whether mail on your system is working correctly is to use error_log() with the mail option. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* What a misfortune to be a woman! And yet, the worst misfortune is not to understand what a misfortune it is. -- Kierkegaard, 1813-1855. */

« previous php.general (#155986) next »