IFsrmFileManagementJob::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_FSRMFileManagementJob class.]

The email addresses to which to send the reports, if any.

This property is read/write.

Syntax


HRESULT put_MailTo(
  [in]   BSTR mailTo
);

HRESULT get_MailTo(
  [out]  BSTR *pMailTo
);

Property value

A string that contains 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.

Error codes

The method returns the following return values.

NameMeaning
S_OK

Success

E_INVALIDARG

Returned for the following reasons:

  • The list of addresses is too long.
  • One or more of the addresses are not formatted correctly.

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 IFsrmSetting::AdminEmail property is set). The subject is "<ReportType>: <ReportName>". The body of the email message is empty.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 R2

DLL

SrmSvc.dll

IID

IID_IFsrmFileManagementJob is defined as 0770687e-9f36-4d6f-8778-599d188461c9

See also

IFsrmFileManagementJob
MSFT_FSRMFileManagementJob

 

 

Show:
© 2014 Microsoft