For some reason when I try to do this:
mail("[email protected]","test","test");
it doesn't work. Did I make some stupid mistake in the code above? (I don't think so) or is there something wrong with the server?
Printable View
For some reason when I try to do this:
mail("[email protected]","test","test");
it doesn't work. Did I make some stupid mistake in the code above? (I don't think so) or is there something wrong with the server?
I don't see anything wrong with the code above...it's a possiblity that the php on the server was down.
D!m
It's probably because you don't have a SMTP server set up on the machine you were trying to execute the code on....
I don't know where to get one. but I am pretty sure thats the problem.
If you are using PWS or IIS4+ be sure to set the SMTP server address as well as the admin email address in the PHP.INI file in your winnt or windows directory.