M
M
Maxim E2015-11-30 18:13:55
1C-Bitrix
Maxim E, 2015-11-30 18:13:55

How to execute PHP code when submitting forms to 1C-Bitrix?

It is necessary that PHP code be executed for any outgoing e-mail message.
Where to dig? Maybe there is a possibility similar to WordPress hooks?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Ukolov, 2015-11-30
@creativeworm

It all depends on how the emails are sent. There are web form events , there is an event before sending the letter itself (but it will be executed, of course, only if the letter will be sent through this method). And if letters are simply sent via mail() in self-written components, or some other perverted method of sending is used, then, of course, it will not work to hang on them.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question