CEventMessage is the class to deal with mail
templates.
Fields
| Field |
Type |
Description |
| ID |
Int |
mail template ID |
| EVENT_NAME |
Varchar(50) |
mail event ID |
| LID |
Char(2) |
language ID |
| TIMESTAMP_X |
Datetime |
Last template modification |
| ACTIVE |
Char |
active state (Y|N) |
| EMAIL_FROM |
Varchar(255) |
Sender |
| EMAIL_TO |
Varchar(255) |
Receiver |
| SUBJECT |
Varchar(255) |
Subject |
| MESSAGE |
Text |
Message body |
| BODY_TYPE |
Char(4) |
Message type (text|html) |
| BCC |
Varchar(255) |
BCC |
Methods
| Method |
Description |
| GetList |
Returns the filtered list of templates. |
| GetByID |
Returns the template data by its ID. |
| Add |
Adds a new template. |
| Update |
Modifies the existing mail template. |
| Delete |
Removes the template. |
See Also