<< back to sysax.com Product page

11.6. Checking mail status

The IsMailSuccess method can be used to check if a mail message was successfully sent.

Exhibit 11.11. IDL Definition of method to check status of sending mail


HRESULT IsMailSuccess ([out, retval] VARIANT_BOOL *f_is_success);


Exhibit 11.12. Example usage of method to check status of sending mail (VBScript)


'check if the mail message was successfully sent
If app.IsMailSuccess Then
  'mail was successfully sent
End If