Email - sendMail


Email - sendMail

Description :

This command sends an email. You must provide the sender and recipient of the email and its subject and body.

Return type : void

Command Input :

Variable Name

Variable Type

Description

from

String

Sender of the email.

to

String

Recipient of the email. If there are multiple recipients, the "to" list should be comma separated.

subject

String

Subject of the email.

body

String

Body of the email.

Example

The following example shows how to send an email:

Script





# Enter the following:

Email sendMail joe@bladelogic.com dan@mycompany.com "Hello" "How are you?"



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*