3.2.4.2.45.5 ClassificationReportMailTo (get) (Opnum 11)

The ClassificationReportMailTo (get) method retrieves the email address recipient list to which reports will be emailed when the classification is run and returns S_OK upon successful completion. The format of the email address needs to be as specified in [RFC5322].

 [propget, id(FSRM_PROPERTY(FSRM_DISPID_CLASSIFICATION_MANAGER | 0x03))] HRESULT ClassificationReportMailTo(
   [out, retval] BSTR* mailTo
 );

mailTo: Pointer to a variable that upon completion contains the email recipient list to which reports will be sent when the classification is run.

Return Values: The method MUST return zero on success, or a nonzero error code on failure.

Return value/code

Description

0x80070057

E_INVALIDARG

The mailtTo parameter is NULL.

Upon receiving this message, the server MUST validate parameters:

  • Verify that mailTo is not NULL.

If any validation fails, the server MUST terminate processing and return a nonzero error code.

The server MUST set mailTo to the Default Classification Job's Classification Job.Mail to.

If the email address contains the special string "[ADMIN_EMAIL]", the server MUST return the email address without resolving the "[ADMIN EMAIL]" macro.