Documentation

GetEmailsByStatus

array
CPosting::GetEmailsByStatus(
 int ID,
char STATUS
);

Method returns a selection from email queue to be posted. Static method.

Parameters

Parameter Description Available from version
ID Post ID
STATUSRecipient status in queue.

The following values are available:

  • "N" email sent successfully;
  • "E" - email sent with error;
  • "Y" - awaits to be sent.

Return value

Returns the result of CDBResult. [link=91191] "Queue for dispatch" object fields[/link] become available upon retrieval by methods of CDBResult class.

See also



© «Bitrix24», 2001-2024