Notice: Undefined variable: subject in C:\wampp\www\itvideohelps\send_contact.php on line 5
Notice: Undefined variable: detail in C:\wampp\www\itvideohelps\send_contact.php on line 8
Notice: Undefined variable: customer_mail in C:\wampp\www\itvideohelps\send_contact.php on line 12
Notice: Undefined variable: name in C:\wampp\www\itvideohelps\send_contact.php on line 15
We've recived your contact information
on this line script
<html>
<?php
// Contact subject
$subject ="$subject";
// Details
$message="$detail";
// Mail of sender
$mail_from="$customer_mail";
// From
$header="from: $name <$mail_from>";
// Enter your email address
$to ='octa@localhost';
$send_contact=mail($to,$subject,$message,$header);
// Check, if message sent to your email
// display message "We've recived your information"
if($send_contact){
echo "We've recived your contact information";
}
else {
echo "ERROR";
}
?>
</html>
using localhost , i have install ArGoSoft mail server , and I did email settings outlook expresss
help , thanks