Yandex mail sending php mail?

There is a thank you page, the user enters her e-mails obtained by the dispatch.

By clicking on the link button (example link -
it thus sends a request to the Manager about what was the link and the Manager calls you back, etc.

There is a simple php code

$user_email = isset($_GET['email']) ? $_GET['email'] : ";
$user_telephone = isset($_GET['telephone']) ? $_GET['telephone'] : ";
$manager = isset($_GET['manager']) ? $_GET['manager'] : ";

switch($manager) {
 case 'victor' :
 $sendto = 'mail@mail';
 case 'dobrinina' :
 $sendto = 'mail2@mail';

$recepient = $sendto;
$sitename = "#Repost";

$msg = "";
$msg .= "<p><strong>Email:</strong> $user_email</p>";
$msg .= "<p><strong>Phone:</strong> $user_telephone</p>";

$pagetitle = "Application mailing! \"$sitename\"";

if(isset($_GET['manager'])) {
 mail($recepient, $pagetitle, $msg, "Content-type: text/html; charset=\"utf-8\"\n From: $sendto");

For all popular mail letters come, but yandex mail, as registered Mail for your domain, the emails don't come.

Comes only a letter here
Fwd: Mail delivery failed: returning message to sender Print
26 APR. at 16:22
Name <>

xxx <>

-------- Forwarded message--------
26.04.2016, 16:21, "Mail Delivery System" <>:

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
 Unknown user

------ This is a copy of the message, including all the headers. ------

Return-path: <>
Received: from u0050601 by with local (Exim 4.72)
 (envelope-from <>)
 id 1av2vE-0003fT-TH
 for; Tue, 26 Apr 2016 16:21:00 +0300
Date: Tue, 26 Apr 2016 16:21:00 +0300
Message-Id: <>
Subject: Application mailing! "#Repost"
X-PHP-Originating-Script: 705:index.php
Content-type: text/html; charset="utf-8"

<p><strong>Email:</strong></p><p><strong>Phone:</strong> xxxx</p>

-------- The end of forwarded message --------

With uvajeniem,</></></></></></>

What could be the problem ??
July 12th 19 at 17:23
2 answers
July 12th 19 at 17:25
1) the Check is properly configured mail server in the worst case, you banish and letters do not reach either the mail server is not quite the word, to bad they go in spam and in the Inbox of either not seen you in spam lists where you can unsubscribe
2) Check mail managers
3) Test managers, there have been occasions when the Manager specifically said that the letters do not reach and worked hard.

And generally it is better to use swiftmailer or api such as mandril or mailgun and maybe even amazone ses.
Ideal when leads lie immediately in crm. If there is no crm that managers can safely throw excuses. And so we see immediately where issues and KPI's and salespeople.
July 12th 19 at 17:27
Yandex tells you that it is incorrect recipient address

Find more questions by tags Mail for domainPHPYandex