3.2.4.2.5.3 MailReplyTo (get) (Opnum 14)

The MailReplyTo (get) method returns the mail reply to property of the action. The MailReplyTo string parameter value will show up as the reply to address of email generated by this action. The format of the email address has to be as specified in [RFC5322].

 [propget, id(FSRM_PROPERTY(FSRM_DISPID_ACTION_EMAIL | 0x02))] HRESULT MailReplyTo(
   [out, retval] BSTR* mailReplyTo
 );

mailReplyTo:  A pointer to a variable that, upon completion, contains the mail reply to email address of the action.

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

Return value/code

Description

0x80070057

E_INVALIDARG

The mailReplyTo parameter is NULL.

Upon receiving this message, the server MUST validate parameters:

  • Verify that mailReplyTo is not NULL.

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

The server MUST set mailReplyTo to the mail reply to email address of the object.

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.