...
testmessage - send a test message, without creating a new element. Message text can use macros, a warning string is also added to the text. Required parameters are:
- k - user session ID;
- type - type of test notification (mail);
- server - SMTP server, the length is not more than 127 characters;
- port - the SMTP service port on the server;
- ssl_active - SSL when communicating with the mail server, true or false;
- starttls - true or false;
- login - the name of the account on the server, the length is not more than 63 characters;
- password - the password of the account on the server, the length is not more than 63 characters;
- from - the address of the sender, the length is not more than 63 characters;
- to - the address of the recipient, not more than 10 addresses with a maximum length of 63 characters each;
- message - message text template, the length is not more than 1023 characters;
- subject - custom subject field of e-mail message, up to 255 characters, if left blank, the field is automatically generated.
sendmail - send a e-mail message, without creating a new element. Macros are not used, the message is sent as is. Required parameters are:
- k - user session ID;
- name - the name of the notification (as shown in the log messages), the length is not more than 63 characters;
- server - SMTP server, the length is not more than 127 characters;
- port - the SMTP service port on the server;
- ssl_active - SSL when communicating with the mail server, true or false;
- starttls - true or false;
- login - the name of the account on the server, the length is not more than 63 characters;
- password - the password of the account on the server, the length is not more than 63 characters;
- from - the address of the sender, the length is not more than 63 characters;
- to - the address of the recipient, not more than 10 addresses with a maximum length of 63 characters each;
- message - message text template, the length is not more than 1023 characters;
- subject - custom subject field of e-mail message, up to 255 characters, if left blank, the field is automatically generated.
...