Share via


IFsrmReportJob.MailTo Property

 

Retrieves or sets the email addresses of those that will receive the reports via email.

Namespace:   Microsoft.Storage
Assembly:  srmlib (in srmlib.dll)

Syntax

string MailTo { get; set; }
property String^ MailTo {
    String^ get();
    void set(String^ value);
}
abstract MailTo : string with get, set
Property MailTo As String

Property Value

Type: System.String

Returns a String containing the email addresses of those receiving the reports via email. Use a semicolon to delimit the addresses. The maximum length of each address is 255 characters.

Remarks

This property is optional.

The email message is sent only if the job finishes successfully. Email is not sent for FsrmReportType_ExportReport report types. The reports are attached to the email message. You can specify [Admin Email] to send notification to the administrator (if the AdminEmail property is set). The subject is "<ReportType>: <ReportName>". The body of the email message is empty.

See Also

IFsrmReportJob Interface
Microsoft.Storage Namespace

Return to top