Table of Contents

Method SendSms

Namespace
Skyline.DataMiner.Automation
Assembly
SLManagedAutomation.dll

SendSms(SmsOptions)

Sends a text message (SMS).

public void SendSms(SmsOptions options)

Parameters

options SmsOptions

The options.

Examples

SmsOptions mySmsOptions;
...
engine.SendSms(mySmsOptions);

Remarks

In DataMiner 10.4.0 [CU10]/10.5.1 (RN 41195), some changes are introduced in the locking behavior of this Automation script action. From these versions onward, text that supports the dummy placeholder will display the old element name if it is updated during the execution of a script, or it will still display the element name even if the element has been deleted in the meantime.

Exceptions

DataMinerException

Sending failed.

SendSms(string, string)

Sends a text message (SMS).

public void SendSms(string message, string to)

Parameters

message string

The message.

to string

The recipients.

Examples

engine.SendSms("My Message","USER:ADMIN");

Remarks

  • a mobile number,
  • USER:, followed by the name of a DataMiner user, or
  • GROUP:, followed by the name of a DataMiner user group.

Exceptions

DataMinerException

Sending failed.