|Version 2 (modified by 3 years ago) (diff),|
IsOnline -- Detect if YAM is currently getting or sending email. (V2.0)
Detects if YAM is currently getting or sending email, setting the return code accordingly.
RC is set to 1 if YAM is currently getting or sending email.
Due to the fact that YAM is not multithreaded yet, the ARexx host runs into the very same task and thus the command doesn't return until the transference is finished, and then of course it returns 0. Therefore, this command is only useful when using mail preselection (it will return 1 after all the headers are transferred and the application stops to wait for user interaction) until multithreading is implemented.