J
J
Johnny-Skyples2020-11-22 11:52:29
1C-Bitrix
Johnny-Skyples, 2020-11-22 11:52:29

Why doesn't the method work?

It doesn't give any errors, but messages are not sent either

require_once($_SERVER['DOCUMENT_ROOT'] . "/bitrix/modules/main/include/prolog_before.php");
use Bitrix\Main\Loader;
if ( \Bitrix\Main\Loader::includeModule('sender') )
{
\Bitrix\Sender\PostingManager::send( '20', '10', '100' );
}

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