I am trying to learn php. My web host has version 4.1.2 running on their webserver.
I have a VERY simple script that I CANNOT get to work and the webhost support keeps telling me that all their other clients can get the mail function to work just fine and that the problem is in my code. I have simplified it down to just 3 lines of code, and STILL it will not work.
Am I missing something with the syntax? I have a php file that only has the following in it:
<?php<br />$mysubject = "TEST EMAIL FROM MSGBOARD";
$myemail = "[email protected]
$mybody = "This is a test email to see if it works";
mail($myemail, $mysubject, $mybody);
Can someone take a peek and let me know if it's something obvious.