PHP: <?php/*alertToManager snippet*/function alertToManager( &$fields ){global $modx;$reportTpl = $fields['reportTpl']; $txt = $modx->parseChunk($reportTpl, $fields, '[+', '+]');$txt = str_replace("\n","",$txt);$txt = $modx->db->escape($txt); $modx->sendAlert('alert',1,1,'Feedback',$txt,1);return true;} ?> Добавить в чанк формы (&tpl) скрытое поле <input type="hidden" name="reportTpl" value="eFeedbackReport" />eFeedbackReport - имя чанка, который используется для формирования текста письма (&report). В вызов eForm добавить параметр &eFormOnBeforeMailSent с именем функции alertToManager&eFormOnBeforeMailSent=`alertToManager`