* Thus wrote Peda ([EMAIL PROTECTED]):
> 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.

What does your sendmail_path say in your config, and what OS are you
running.

Read:
http://us2.php.net/mail
and
http://php.net/function.mail

Oh, and your from should contain a valid email too, otherwise it prolly
get bounced to /dev/null

From: "Peda" <[EMAIL PROTECTED]>

Curt
-- 
"I used to think I was indecisive, but now I'm not so sure."

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

Reply via email to