I'm new to PHP and I'm trying to send email via a php script.
Just to get the principle right I've created two files. the first file passes a variable to the next file.
If the variable is equal to something it emails one address else it emails another address.
My mail code is;
mail("duncan_glover@hotmail.com,", "works!!", "works!!") ;
But the email is not sent!!
Any ideas??
Thanks,
Duncan...