P
P
photosho2019-05-13 16:41:58
1C-Bitrix
photosho, 2019-05-13 16:41:58

Is it possible to customize the template for the "STATISTIC_DAILY_REPORT" event?

Do I understand correctly that the mail template does not work for the "STATISTIC_DAILY_REPORT" event, and it is always sent to email: "COption::GetOptionString("main", "email_from", "")"? That is, there is no way to customize either its appearance or email, where to send letters. Why is that? Maybe I'm wrong?
Information from "/bitrix/modules/statistic/stat_tools.php" ~924 line:

$arEventFields = array(
  "SERVER_TIME"		=> $now_full_date,
  "HTML_HEADER"		=> $HTML_HEADER,
  "HTML_FOOTER"		=> $HTML_FOOTER,
  "HTML_COMMON"		=> $HTML_COMMON,
  "HTML_ADV"			=> $HTML_ADV,
  "HTML_EVENTS"		=> $HTML_EVENTS,
  "HTML_REFERERS"		=> $HTML_REFERERS,
  "HTML_PHRASES"		=> $HTML_PHRASES,
  "HTML_SEARCHERS"	=> $HTML_SEARCHERS,
  "EMAIL_TO"			=> COption::GetOptionString("main", "email_from", "")
);

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question