Go to documentation repository
The MAIL_MESSAGE object corresponds to the Mail message system object.
The MAIL_MESSAGE object sends events presented in the table. Procedure is started when the corresponding event occurs.
Event | Description |
SEND_ERROR | Message sending error |
SENT | Message is sent |
List of commands and parameters for the MAIL_MESSAGE object is given in the table:
Command—command description | Parameters | Description |
"SETUP"—settings for mail message | from<> | Sender's address |
to<> | Recipient's address | |
cc<> | Copies | |
subject<> | Message subject | |
body<> | Message body | |
attachments<> | Attachments. If several files are attached, their addresses are separated with a semicolon | |
flags<> | Flags | |
name<> | Object name | |
pack<> | Method of attachments packing | |
is_body_html<> | Specifies if HTML markup must be applied when sending. Possible values: 1 or 0 | |
inline<> | Specifies if attachments are only shown in the message text (value of 1) or both in the text and in the "Attachments" section (value of 0) | |
"SEND"—send mail message | - | - |
"SEND_RAW"—send email with parameters | same as for the SETUP command | see Examples of scripts in the JScript language |
Properties of the MAIL_MESSAGE object are shown in the table.
Properties of the MAIL_MESSAGE object | Description |
ID<> | Object ID |
PARENT_ID<> | Parent object ID |