Answer the question
In order to leave comments, you need to log in
How to disable sending email notifications during registration only for a specific group of users?
How can I disable sending email notifications during registration only for a specific group of users?
Online store, small business editorial. The bottom line is that when registering on the site, users can register as ordinary buyers and as representatives of the organization, for this there are two forms of registration. For ordinary customers, you need to keep the functionality of sending them email notifications, for those users who register as representatives of the organization, you need to disable the functionality of sending letters, so that they do not receive emails, the manager will call them back. Users who register as representatives of the organization fall into a separate group.
How can I disable sending email notifications during registration only for a specific group of users? Can this be done in the 1C-Bitrix settings or on the code side?
Perhaps at the level of event handlers OnAfterUserRegister or OnBeforeUserRegister it is possible to disable sending a mail notification to the user?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question