vuCloseWhenComplete(closeWhenComplete)
Purpose
Sets the legacy runtime flag that indicates whether the client should close when a send completes.
Parameters
closeWhenComplete (LONG): Flag value written into runtime configuration.
Return value / error codes
1: Value stored successfully.
0: Failure. vuMailLastError() is set with text beginning vuCloseWhenComplete failed:.
Example (Clarion)
MAP
MODULE('vuMail.dll')
vuCloseWhenComplete(LONG InValue),SIGNED,PROC,PASCAL,RAW,NAME('vuCloseWhenComplete')
END
END
rc LONG
rc = vuCloseWhenComplete(1)
IF rc = 0
MESSAGE('Could not set CloseWhenComplete: ' & vuMailLastError())
END
Notes
- This function only sets an internal compatibility flag.
- AuthMode/OAuth is not used by this function.
- Legacy reference:
vuMailDump.pdf, section heading vuCloseWhenComplete.