if(empty($name) || empty($email) || empty($msg)){
Print “All fields are required to send email”;
}
$email_from = $email;
$email_subject = “Email from uwrfIntervarsity.com”;
$email_body = “You have recieved a new message from $name. \n”.
“Here is the message: \n $msg”;
$to ="xxxxxxx@gmail.com"
mail($to,$email_subject,$email_body);
Print"Email sent. Thank you for contacting UWRF Intervarsity!";
?>
000webhost allows mail(), it should work perfectly. If we were having an issue, you’d get a different error. This has something to do with the syntax… maybe @ckhawand or @NGiNX can look at it when they are available?