A
Anonymous
Guest
Hi i am new to PHP. I trying some example on php script but i got the Fatal error say "Fatal error: Call to undefined function: mail() in /users/coolfreepage.com/alienz/sendmail.php on line 2". Could anyone help me? Thanks in advance.
Code:
[u]feedback.html[/u]
<FORM method=post action="sendmail.php">
Email : <INPUT name="email" type="test"><BR>
Message : <BR>
<TEXTAREA name="message"></TEXTAREA><BR>
<INPUT type=submit>
</FORM>
[u]sendmail.php[/u]
<?
mail( "yyy@yahoo.com", "Feedback Form Results",
$message, "From: $email" );
header( "Location: http://www.alienz.coolfreepage.com/index.html" );
?>