IFsrmActionReport::get_MailTo method (fsrm.h)

[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 get_MailTo(
  BSTR *mailTo
);

Parameters

mailTo

Return value

None

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

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008
Target Platform Windows
Header fsrm.h (include FsrmQuota.h, FsrmScreen.h)
DLL SrmSvc.dll

See also

IFsrmActionReport

MSFT_FSRMAction

MSFT_FSRMFMJAction

MSFT_FSRMFMJNotificationAction