krn.SendAdminMail

This job sends an email to the predefined administrator.

In the registry, under HKLM\Software\Optimal Systems\[Application Server Name]\Schemata at least Mailserver (SMTP IP address) and AdminMail (email address) must be set. The passed file list is attached as an attachment to the email.

1. Input Parameters

Name Type Required Description

Flags

INT

Yes

Currently not supported — pass 0.

Sender

STRING

Yes

Name of the sender

Subject

STRING

Yes

Subject line of the email

Text

STRING

Yes

Text content of the email

2. Input Files

Name Description

[File list]

Files to be sent as email attachments

3. Return Value

(INT): 0 = Job successful, otherwise error code.