<?php
$recepient = "vikraokna@gmail.com";
$sitename = "lp24.pro";
$name = trim($_POST["name"]);
$phone = trim($_POST["phone"]);
$mail = trim($_POST["mail"]);
$pagetitle = "Новая заявка с сайта "$sitename"";
$message = "Имя: $name nТелефон: $phone nПочта: $mail";
mail($recepient, $pagetitle, $message, "Content-type: text/plain; charset="utf-8"n From: $recepient");