Table of Contents

Method SendEmail

Namespace
Skyline.DataMiner.Automation
Assembly
SLManagedAutomation.dll

SendEmail(EmailOptions)

Sends an email message.

public void SendEmail(EmailOptions options)

Parameters

options EmailOptions

The options.

Examples

EmailOptions myEmailOptions;
...
engine.SendEmail(myEmailOptions);

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.

SendEmail(string, string, string)

Sends an email message.

public void SendEmail(string message, string title, string to)

Parameters

message string

The message.

title string

The title.

to string

The recipients.

Examples

engine.SendEmail("The message I want to send.","The title of my message","support@gtc.com");

Remarks

Sending failed.

To specify the recipient, use

  • an email address,
  • USER:, followed by the name of a DataMiner user, or
  • GROUP:, followed by the name of a DataMiner user group.