| Home | All functions | Legacy functions | Categories |
| All functions | Legacy functions | About function names |
Save the current active runtime values into a named managed profile.
This is the named-profile save function for Pro and Back Office workflows.
Prototype: vuSaveProfileEx(*CSTRING ProfileName), LONG, PROC, PASCAL, RAW, NAME(‘vuSaveProfileEx’)
| Parameter | Type | Description | Expected values / range |
|---|---|---|---|
| ProfileName | *CSTRING | Managed profile name to save. | Example: work-account. Blank falls back to default. |
| Value | Meaning |
|---|---|
| 1 | success |
| 0 | save failed |
| -9001 | vuMailKit licensing was not initialized. Register the template/global extension or call vuMailKitInitialize(LicenseString) at EXE startup. |
| -9002 | license string is invalid or initialization failed. |
| -9003 | current license tier does not allow this feature. |
vuSaveProfileEx() saves the current live runtime configuration into the named managed profile.
After a successful save:
ProfileName CSTRING(80)
Result LONG
ProfileName = 'work-account'
Result = vuSaveProfileEx(ProfileName)
For licensing failures, vuMailLastError() is updated with text that identifies the condition as a vuMailKit licensing/setup or license-edition problem, not an SMTP, OAuth, Gmail, password, or mail-server authentication failure.
| All functions | Legacy functions | About function names |
| Home | All functions | Legacy functions | Categories |