Table of Contents

Method PrepareMailReport

Namespace
Skyline.DataMiner.Automation
Assembly
SLManagedAutomation.dll

PrepareMailReport(string)

Returns a MailReportOptions object, which you can use to configure and launch an email report.

public MailReportOptions PrepareMailReport(string mailReport)

Parameters

mailReport string

The mail report to prepare.

Returns

MailReportOptions

The MailReportOptions object.

Examples

MailReportOptions reportOptions;
reportOptions = engine.PrepareMailReport("myReportTemplate");
reportOptions.EmailOptions.SendAsPlainText = true;
...
engine.SendReport(reportOptions);

Exceptions

ArgumentException

mailReport is null or the empty string ("").