On Sunday 20 July 2003 23:00, Peda wrote:
> I put this PHP script on web server:
>
> <?php
>  if (mail("[EMAIL PROTECTED]", "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.
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to