\r\n"; $headers .= "Reply-To:" .$_REQUEST['form_phone']."<".$_REQUEST['form_email'].">\r\n"; $headers .= "MIME-Version: 1.0\n"; $headers .= "Content-Type: multipart/alternative; boundary=\"$mime_boundary\"\r\n"; $message = "--$mime_boundary\r\n"; $message .= "Content-Type: text/plain; charset=UTF-8\r\n"; $message .= "Content-Transfer-Encoding: 8bit\r\n\r\n"; $message .= "Dear Sir,\r\n\r\n"; $message .= "\r\n"; $message .= "My Information are given below :\r\n"; $message .= "\r\n"; $message .= "Name:".$_REQUEST['form_name']."\r\n"; $message .= "\r\n"; $message .= "Contact No.:".$_REQUEST['form_phone']."\r\n"; $message .= "\r\n"; $message .= "E-Mail: ".$_REQUEST['form_email']."\r\n"; $message .= "\r\n"; $message .= "My Query :".$_REQUEST['form_subject']."\r\n"; $message .= "\r\n"; $message .= "My Query :".$_REQUEST['form_message']."\r\n"; $message .= "\r\n"; $message .= "Thank You.\r\n\r\n"; $message .= "Yours,\r\n"; $message .= $_REQUEST['form_name']."\r\n"; $message .=$_REQUEST['form_email']."\r\n"; $mail_sent = @mail($to, $subject, $message, $headers); $mail_sent ? "Mail sent" : "Mail failed"; if($mail_sent=='Mail sent'){ echo ""; } else{ echo ""; } echo ""; ?>