\r\n"."Reply-To: ".$email."\r\n" ; $msg = "From: $name
Phone: $phone
Appointment Date: $date
Treatment: $treatment"; $mail = mail($to, $email_subject, $msg, $headers); if($mail) { echo 'success'; } else { echo 'failed'; } } ?>