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.
MailReportOptions PrepareMailReport(string mailReport)
Parameters
mailReport
stringThe 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 ("").