Answer the question
In order to leave comments, you need to log in
Why doesn't the mailing release status change?
Hello! I'm creating an example mailing list:
$arFields = array(
'STATUS' => 'D',
'BCC_TO_SEND' => "[email protected]",
'FROM_FIELD' => "[email protected]",
'SUBJECT' => 'Тема сообщения',
'BODY_TYPE' => 'text',
'BODY' => 'Тело сообщения',
'RUB_ID' => 1,
'DIRECT_SEND' => 'Y',
'CHARSET' => 'UTF-8',
);
$posting = new CPosting;
$ID = $posting->Add($arFields);
if ($ID) {
$posting ->ChangeStatus($ID, "P");
$posting->AutoSend($ID);
}
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