다음을 통해 공유


IFsrmActionReport.MailTo Property

 

Retrieves or sets the email address to which the reports are sent.

This property is read/write.

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

A String that contains the email address to which the reports are sent. The string is limited to 4,000 characters.

Remarks

The email message contains the reports as attachments. It is possible that the mail server may reject the message if the server limits attachment sizes. The MailFrom property specifies the sender of the email. The subject and message body contain predefined text that identifies the quota that caused the notification. The email addresses are not checked for format until the action is run.

You can also call the SetOutputDirectory SetOutputDirectory method to specify the storage location for these incident reports.

For an example, see Updating a Quota.

See Also

IFsrmActionReport Interface
Microsoft.Storage Namespace

Return to top