<?php

$destination="you@somedomain.com";
$name=$_POST['sendname'];
$phone=$_POST['sendphone'];
$email=$_POST['sendemail'];
$mess=$_POST['sendmessage'];

$subject="Message from site";

$mes = "Name: $name\n
Phone: $phone\n
E-mail: $email\n
Message: $mess\n";

mail($destination,$subject,$mes);
