$error_message="Eksik Bilgi Doldurdunuz"; // Change this error message to whatever you wish.
$youremailaddress="deniz@denizunel.com"; // the email address of where the message will be sent
?>
E-Mail :
Konu :
Mesaj :
Mail Adresinizi Kontrol Ediniz";
}
else {
mail("$youremailaddress","$subject","$message","From: $realname <$email>") or die("email error");
echo "Mesajınız Gönderildi"; // if all went well, display message was sent
} // end of is email valid or not
} // end of if all fields were completed
else {
echo "$error_message"; // if not all were filled in, display error message
}
} // end php if statement
?>