Skip to main content
Skip table of contents

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

SQL
CALL "SYSADMIN.sendEmailToAdmins"(
    "subject" => 'string_subject',
    "body" => 'string_body',
    "adminGroup" => 'string_adminGroup'
)

SYSADMIN.sendEmailToAdmins procedure is available since v25.2

Parameters

Parameter

Description

subject

Email subject

body

Email body

adminGroup

Target group of admins. Possible values: 'TTYD', 'DATA_SHOP'

Example

SQL
CALL "SYSADMIN.sendEmailToAdmins"(
    "subject" => 'testmail',
    "body" => '<body>Hello!</body>',
    "adminGroup" => 'TTYD'
)

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.