docs

Home All functions Legacy functions Categories

vuMailStatus()

Description

Returns send queue and background send status.

Returns

A LONG value indicating current send status.

Notes

This function is used to poll status during asynchronous sending.

NOTE: A good place to call this function is: Window Events, Close Window, Before <’Generated Code’>.

Example (Clarion)

  IF vuMailStatus()
    IF MESSAGE('Email is still being sent.|' & |
               'Exiting now may cause this email to be lost.|' & |
               'Continue (Y/N)?', |
               'Email Message', |
               ICON:Exclamation, |
               BUTTON:Yes + BUTTON:No) = BUTTON:No
      CYCLE
    END
  END
Home All functions Legacy functions Categories