Hey, i'm relatively new to php, and i'm having a problem. i have a php form liked to my contact page, and it says "Warning: mail() has been disabled for security reasons in /home/richscom/public_html/contact.php on line 18"...
any help on this would be greatly appreciated. thanks ahead of time.
Edit:
This is my php form by the way
<?php
$to = "myemailaddress@something.com";
$subject = $_POST["title"];
$name = $_POST["name"];
$message = $_POST["message"];
$messagesent = "From: $name Message: $message";
$from = $_POST["email"];
$headers = "From: $from";
mail($to,$subject,$messagesent,$headers);
?>
any help on this would be greatly appreciated. thanks ahead of time.
Edit:
This is my php form by the way
<?php
$to = "myemailaddress@something.com";
$subject = $_POST["title"];
$name = $_POST["name"];
$message = $_POST["message"];
$messagesent = "From: $name Message: $message";
$from = $_POST["email"];
$headers = "From: $from";
mail($to,$subject,$messagesent,$headers);
?>
Last edited: