MailAdmin(Subject, Body)

Sends an email to the system administrator. This method uses the email address specified in the EmSe_AdminAddress in the custom_emailaddress table.

Parameters
  • Subject. Specifies the email message subject. This parameter accepts a string value.
  • Body. Specifies the email message body text. This parameter accepts a string value.
Examples

var sSubject;
var Body;
sSubject = "Unknown customer";
sBody = "An unknown customer attempted to mail the service";
MsgHandler.MailAdmin(sSubject,sBody);