Answer the question
In order to leave comments, you need to log in
How to send emails through the bitrix:main.feedback component?
Hi all.
I decided to make a callback form through the bitrix:main.feedback component%
<?$APPLICATION->IncludeComponent("bitrix:main.feedback","zvonok",Array(
"USE_CAPTCHA" => "Y",
"OK_TEXT" => "Спасибо, ваше сообщение принято.",
"EMAIL_TO" => "[email protected]",
"AJAX_MODE" => "Y",
"AJAX_OPTION_SHADOW" => "N",
"AJAX_OPTION_JUMP" => "N",
"AJAX_OPTION_STYLE" => "Y",
"AJAX_OPTION_HISTORY" => "N",
"REQUIRED_FIELDS" => array(
0 => "NAME",
1 => "user_phone"
),
"EVENT_MESSAGE_ID" => Array("32")
)
);?>
Answer the question
In order to leave comments, you need to log in
We look at which mail template is used in the component. See if a record is being created in the b_event table. We look at the logs of the standard msmtp mailer, or the left module for sending letters. If there is no letter at some step, debug step by step starting from the bitrix:main.feedback component
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question