RuleBaseEngine:sendMail
Method
Purpose
This method (on all platforms) sends an email notification.
Remarks
The To
and Subject
fields are only mandatory fields and all other fields are optional. If From
is not specified, the current host ID is used. If the Content
field is blank, the text of the Subject
field is used. If the Mail Server is not specified, then SMTP server configured in the agent sends email.
Rulebases can send mail upon detecting a specified condition.
Type
Open, Synchronous, IMPACT_ACTION
Arguments
Name |
Type |
Description |
To |
String |
Address of the receiver |
CC |
String |
CC (carbon copy) recipients of email |
BCC |
String |
BCC (blind carbon copy) recipients of email |
Subject |
String |
Subject of email |
Content |
String |
Content of email |
Mail Server |
String |
SMTP mail server used to send message |
From |
String |
Address of the sender |
Returns
None