sendEmailToAdmins
The sendEmailToAdmins
procedure can be used to send emails through an SMTP server to the selected admin group.
To use it, a properly configured SMTP server is needed. An SMTP server can be configured using the setSmtpConfiguration
procedure.
Usage
CALL "SYSADMIN.sendEmailToAdmins"(
"subject" => 'string_subject',
"body" => 'string_body',
"adminGroup" => 'string_adminGroup'
)
SYSADMIN.sendEmailToAdmins
procedure is available since v25.2
Parameters
Parameter | Description |
---|---|
| Email subject |
| Email body |
| Target group of admins. Possible values: 'TTYD', 'DATA_SHOP' |
Example
CALL "SYSADMIN.sendEmailToAdmins"(
"subject" => 'testmail',
"body" => '<body>Hello!</body>',
"adminGroup" => 'TTYD'
)