View Single Post
 
Old December 13th, 2003, 01:17 AM
pi pi is offline
Registered User
 
Join Date: Dec 2003
Location: , , .
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default mail() help needed

Hi,
I am new to PHP. I am trying to get a simple script to send me an email notification from my web site hosted by mydomain. From the books and on-line tutorials it seems all I need is:

mail("name@domain", "subject", "message text");

Is there more to it? mail() returns FALSE and I get no email. If it is relevant, from the phpinfo(): I have php 4.3.0 running on Linux and Apache 1.3.27.
Thanks,
pi