Answer the question
In order to leave comments, you need to log in
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 questionAsk a Question
731 491 924 answers to any question