Hey !! i got a Godaddy (terrible) hosting…and im using this php code for emails… for some reason isn’t working …i’ve been searching all arround internet and seems to be that Godaddy has problems with php .
The i tried this answer
<?php
mail(“you@domain.com”, “test message from godaddy”, “this is a test message, if you are reading this the email was sent successfully.”);
?>
and it works …but i need this one !!
<?php
$name = $_POST[“id”];
$from = $_POST[“from”];
$message = $_POST[“msg”];
$subject = “wh0w | Contact | " . $_POST[“objet”];
$msg = utf8_decode($msg);
$msg = str_replace(”\\", “”, $msg);
$msg = stripslashes($msg);
$msg .= "
";
$body = "Message de : " . $name . ", " . $from . "
";
$body .= $msg;
mail(“ezequielavaro@gmail.com”,$subject,$body);
echo “statut=ok”;
?>
I dont know much about php …does any body knows a solution ?
Thanks