Table of Contents

Method SendSms

Namespace
Skyline.DataMiner.Automation
Assembly
SLManagedAutomation.dll

SendSms(SmsOptions)

Sends a text message (SMS).

void SendSms(SmsOptions options)

Parameters

options SmsOptions

The options.

Examples

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

Exceptions

DataMinerException

Sending failed.

SendSms(string, string)

Sends a text message (SMS).

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.