<?php
// Contact subject
$subject =$_POST["subject"];
// Details
$message=$_POST["detail"];
// Mail of sender
$mail_from=$_POST["customer_mail"];
//.........
$send_contact=mail($to,$subject,$message,$header);
// Check, if message sent to your email
// display...