3.2.4.2.5.9 MailBcc (get) (Opnum 20)

The MailBcc (get) method returns the list of blind carbon copy (BCC) email addresses property of the action. The mailBcc parameter value is the list of BCC email addresses to which the email generated by this action will be sent. The format of the email address has to be as specified in [RFC5322].

 [propget, id(FSRM_PROPERTY(FSRM_DISPID_ACTION_EMAIL | 0x05))] HRESULT MailBcc(
   [out, retval] BSTR* mailBcc
 );

mailBcc: Pointer to a variable that upon completion contains the mail bcc list of email addresses of the action. The string returned in mailBcc MUST be in the form of a mailTo string (section 3.2.4.2).

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

Return value/code

Description

0x80070057

E_INVALIDARG

The mailBcc parameter is NULL.

Upon receiving this message, the server MUST validate parameters:

  • Verify that mailBcc is not NULL.

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

The server MUST set mailBcc to the mail bcc list of email addresses of the action.

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