<?php
error_reporting(E_ALL);
$to = 'bailian4ik@mail.ru';
$subject = 'the subject';
$message = 'hello';
$headers = 'From: test@efoxy-link.ru' . "\r\n" .
'Reply-To: test@foxy-link.ru' . "\r\n" .
'X-Mailer: PHP/' . phpversion();
mail($to, $subject, $message, $headers);
?>