if(isset($_POST['sendmessege'])){
$body = "Пользователь заказал: <br>";
$mail_subject = "Заказ";
$to = "vgeorgiy92@gmail.com";
$mail_headers="content-type:text/html; charset=UTF-8";
foreach($_POST as $key => $array){
$body .= "{$array}<br>";
}
mail($to, $mail_subject, $body, $mail_headers);
}