Documentation

CPostingGeneral fields

Fields for handling "Post" message fields

Field name Description Type Required
ID Post ID. int Yes.
TIMESTAMP_X Entry edit date. datetime  
STATUS Post status. Can have the following values: "S" (sent successfully), "E" (sent with errors), "P" (in progress), "W" (stopped), "D" (draft). char(1)  
DATE_SENT Post sent date. datetime  
FROM_FIELD "From" email field. string(255) Yes.
TO_FIELD "To" email field. string(255) No.
BCC_FIELD List of addresses in the "BBC" email field. text  
SUBJECT Email field "Subject". string(255) Yes.
BODY_TYPE Email text type ("text"/"html"). string(4)  
BODY Email text. text Yes.
DIRECT_SEND Send individually to each subscriber ("Y"/"N"). char(1)  
MSG_CHARSET Encoding for created post message. string(255) Current constant value LANG_CHARSET
CHARSET Encoding, specified in the email subject. string(50)  
EMAIL_FILTER Filter for address selection. string(255)  
SUBSCR_FORMAT Filter for text format. Format is indicated in subscriptions. string(4)  
AUTO_SEND_TIME Time to send a post message via agent or cron. datetime  

Fields for handling "Queue" object

Field name Description Type Required
ID Recipient ID in queue. int Yes.
POSTING_ID Post ID. int
  Yes.
STATUS Recipient status. Can have the following value: "N" (message sent successfully), "E" (sent with error), "Y" (awaits dispatch). char(1)   Yes.
EMAIL Recipient address. string(255) Yes.
SUBSCRIPTION_ID Recipient subscription ID. If recipient was added to the queue for dispatch as per rubric category.
int No.
USER_ID User ID. If recipient was added to the queue for dispatch as per group attribute. int
  No.


© «Bitrix24», 2001-2024