Отпарвляю письмо вроде все отправляется нормально, но сверху появляется информация типа
2019-10-01 11:09:15 CLIENT -> SERVER: EHLO begemott.ru
2019-10-01 11:09:15 CLIENT -> SERVER: AUTH LOGIN
2019-10-01 11:09:15 CLIENT -> SERVER:
2019-10-01 11:09:15 CLIENT -> SERVER:
2019-10-01 11:09:15 CLIENT -> SERVER: MAIL FROM:
2019-10-01 11:09:15 CLIENT -> SERVER: RCPT TO:
2019-10-01 11:09:15 CLIENT -> SERVER: DATA
2019-10-01 11:09:15 CLIENT -> SERVER: Date: Tue, 1 Oct 2019 14:09:15 +0300
2019-10-01 11:09:15 CLIENT -> SERVER: To: site@mail.ru
2019-10-01 11:09:15 CLIENT -> SERVER: From: Begemot
2019-10-01 11:09:15 CLIENT -> SERVER: Subject: =?Windows-1251?B?x+Dq4OcguTogOTUxNSAtINHg7CDv7iDx5eHlIPHi7ukg8e7h8fLi5e3t?=
2019-10-01 11:09:15 CLIENT -> SERVER: =?Windows-1251?B?++kgd3d3LmJlZ2Vtb3R0LnJ1?=
2019-10-01 11:09:15 CLIENT -> SERVER: Message-ID:
2019-10-01 11:09:15 CLIENT -> SERVER: X-Mailer: PHPMailer 6.0.3 (
https://github.com/PHPMailer/PHPMailer)
2019-10-01 11:09:15 CLIENT -> SERVER: MIME-Version: 1.0
2019-10-01 11:09:15 CLIENT -> SERVER: Content-Type: text/html; charset=Windows-1251
2019-10-01 11:09:15 CLIENT -> SERVER: Content-Transfer-Encoding: 8bit
вот скрипт, подскажите откуда эта инфа
$mail = new PHPMailer();
$mail->SetLanguage('ru', '../lib/language/');
$mail->ClearAddresses();
$mail->ClearAttachments();
$mail->CharSet = 'Windows-1251';
$mail->IsHTML(true);
$mail->IsSMTP();
$mail->Host = 'smtp.yandex.ru';
$mail->SMTPDebug = 1;
$mail->Port = 465;
$mail->SMTPSecure = 'ssl';
$mail->SMTPAuth = true;
$mail->Username = 'noreply@site.ru';
$mail->Password = 'Password ';
$mail->AddAddress('zaicev_cpi@mail.ru');
$mail->From = 'noreply@site.ru';
$mail->FromName = 'site';
$mail->Sender = $mail->From;
$mail->Subject = $subject;
$mail->Body = $html;
$res = $mail->Send();