Documentation

CEventMessage Class

CEventMessage class is used to handle mail templates.

Fields

Field Type Description
ID Int Mail template ID.
EVENT_NAME Varchar(50) Mail event ID.
LID Char(2) Site ID to which the template belongs. For example, 's1'.
TIMESTAMP_X Datetime Last template modification.
ACTIVE Char Active status (Y|N)
EMAIL_FROM Varchar(255) Sender.
EMAIL_TO Varchar(255) Recipient.
SUBJECT Varchar(255) Topic.
MESSAGE Text Message body.
BODY_TYPE Char(4) Message type (text|html)
BCC Varchar(255) Blind copy.

Class methods


Method Description Available from version
GetList Gets list of templates by filter.
GetByID Gets template data by its ID
Add Adds a new template.
Update Modifies the existing mail template.
Delete Deletes a template.


© «Bitrix24», 2001-2024