I am having problems with this very simple script:
Code:
$msg = $_REQUEST['msg'];
if(mail('[my email]','Message from your page',$msg)){
echo "Thank you! Your message has been sent!";
}
else{
echo "There was an error sending your email!";
}
The e-mails are not appearing in my inbox. Does anyone know what is wrong? I just moved my files from my school server running apache, and it worked there. I have also tried changing the email adress, but it doesn't seem to help. Perhaps this function has been disabled in Freehostia? If that is the case, is there a workaround?