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);

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.