|
Posted by shror on 02/19/07 22:11
Hi Ken,
First of all i'd like to thank you so much for offering me help
then about the onsubmit i have removed it now
and in the mail.php page i have made some changes as you told me
the new code is:
<?php
$email = $_POST['email'];
$subject = $_POST['subject'];
$message = $_POST['message'];
$from = "From: email@s7els7.com";
$t = "shahirwm";
$o = "@gmail.com";
$to = $t . $o;
if (mail($email,$subject,$message,$from,$to)) {
echo "<h4>Thank you $email for sending $to this email</h4>";
} else {
echo "<h4>Can't send email to $email</h4>";
}
?>
i have made the $from as you said and almost every thing but still i
cant get any mails from this script so please help me once more how to
fix it and where is my problem.
thanks once more for your help
the form URL is: www.s7els7.com/mail.htm
Navigation:
[Reply to this message]
|