// Фамилия: $full_name
// Контактный телефон: $phone
";
$message = "тестовый текст сообщения";
$to = "seo@mirax-hotel.com.ua";
$subject = "Test Mail";
$from = "noreply@mirax-hotel.com.ua";
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=utf-8' . "\r\n";
$headers .= "From: <".$from.">\r\n";
$headers .= 'Cc: darkfire@dieg.info' . "\r\n";
if (mail($to,$subject,$message,$headers)) {
echo "OK";
}
else {
// echo "Error";
exit("Server received '{$to}' from your browser.");
}
?>