Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MailTo property
Collapse the table of content
Expand the table of content

IFsrmActionReport::MailTo property

[This property is supported for compatibility but it's recommended to use the FSRM WMI Classes to manage FSRM. Please see the MSFT_FSRMAction, MSFT_FSRMFMJAction, and MSFT_FSRMFMJNotificationAction classes.]

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

This property is read/write.

Syntax


HRESULT put_MailTo(
  [in]  BSTR mailTo
);

HRESULT get_MailTo(
  [out] BSTR *mailTo
);

Property value

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

Error codes

The method returns the following return values.

NameMeaning
S_OK

Success.

E_INVALIDARG

The mailTo parameter is NULL.

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 IFsrmSetting::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 IFsrmReportManager::SetOutputDirectory method to specify the storage location for these incident reports.

Examples

For an example, see Updating a Quota.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008

Header

Fsrm.h (include FsrmQuota.h or FsrmScreen.h)

DLL

SrmSvc.dll

IID

IID_IFsrmActionReport is defined as 2dbe63c4-b340-48a0-a5b0-158e07fc567e

See also

IFsrmActionReport
MSFT_FSRMAction
MSFT_FSRMFMJAction
MSFT_FSRMFMJNotificationAction

 

 

Show:
© 2015 Microsoft