vuGlobalsSave()
Purpose
Saves current vuMailKit runtime global values to HKCU\SOFTWARE\vuPrograms\vuMail.
Parameters
Return value / error codes
Example (Clarion)
MAP
MODULE('vuMail.dll')
vuGlobalsSave(),SIGNED,PROC,PASCAL,RAW,NAME('vuGlobalsSave')
END
END
rc LONG
rc = vuGlobalsSave()
IF rc <> 1
MESSAGE('vuGlobalsSave failed: ' & rc)
END
Notes
- Legacy alias: vuMailSaveGlobals().
- Persists values such as SMTP/POP settings, proxy settings, code page, and email folder.
- If
vuGlobalsSetNoPasswordInRegistry(1) is active, SMTP password is intentionally not written.
- AuthMode/OAuth settings are not changed by this call.