3.2.4.2.11.2 SmtpServer (put) (Opnum 8)

The SmtpServer (put) method sets the SMTP server name  for the File Server Resource Manager Protocol to use when sending email messages and returns S_OK upon successful completion.

 [propput, id(FSRM_PROPERTY(FSRM_DISPID_SETTING | 0x01))] HRESULT SmtpServer(
   [in] BSTR smtpServer
 );

smtpServer: Contains the SMTP server name for the File Server Resource Manager Protocol to use. The maximum length of this string MUST be 4,000 characters.

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

The server MUST use smtpServer as the SMTP server name for sending email messages or return a nonzero error code.