View Single Post
Old December 14th, 2003, 03:30 AM
pi pi is offline
Registered User
Join Date: Dec 2003
Location: , , .
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts

Thanks guys!
I have tried it with and without "from: " string. This is the entire damn script:

     error_reporting (E_ALL);

     $ret = mail("name@domain","test","123","From : webmaster@domain\r\n");

    if ($ret)
       echo "sent";

       echo "not sent";


All that I see when I run it is "not sent" in my browser. Should I expect errors to be reported there, or is there a better mechanism to debug? My hunch is that something is not set up on the web hosting side of things, but since I am totaly new to php I could not be sure that I am not making some elementary mistake. Thanks so much, any help is greatly appreciated.