Joywork/cron/testMail9.php
2026-05-22 21:21:54 +03:00

38 lines
1.3 KiB
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
set_time_limit(0);
require_once($_SERVER['DOCUMENT_ROOT']."/config.php");
ini_set('display_errors', 1);
error_reporting(E_ALL & ~E_DEPRECATED & ~E_STRICT & ~E_NOTICE);
?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Проверка парсинга мыла THE F1RST [f1rst.space]</title>
</head>
<body>
<?php
ParseMailForClients::parseStats($mdb, [
'debug' => true,
'id_agent' => 20947, // Гирявой Леонид Сергеевич
'client_funnel_id' => 0, // Воронка: Общий список клиентов
'req_funnel_id' => 1819, // Воронка:
'req_type_id' => 1, // Тип заявки:
'source_name' => null, // Источник (словами)
'tag_name' => null, // Тег (словами)
'who_work_id' => 21415, // Ответственный:
'telegram_id' => null, // Отправить уведомление:
'mailbox' => [
'imap' => '{imap.yandex.ru:993/imap/ssl}INBOX',
'login' => "otradarezort@yandex.ru",
'password' => "svetzsdpksiypobl",
'encoding' => "UTF-8",
],
'subj_contains' => 'Новая заявка с сайта Отрада ресорт new',
'track_code' => 'last_checked_mail38_id', // ID для отслеживания в БД
]);
?>
</body>
</html>