Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

MailError

  • Last UpdatedJul 18, 2023
  • 1 minute read

Gets the last mail error code. The error code is extracted from the MAPI mail system and explains what caused the MAPI error.

Syntax

MailError()

Return Value

0 (zero) if successful, otherwise an error is returned. Refer also to MAPI errors.

MailLogon, MailLogoff, MailSend, MailRead

Example

! Logon to the mail system

IF MailLogon("RodgerG", "password", 0) THEN

error = MailError();

!do what is required

END

See Also

Mail Functions

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in