docs

vuOAuthSetProviderEnabled

This is a preferred function introduced in vuMailKit 1.0.

Purpose

Allow the application to explicitly enable or suppress OAuth support for a specific provider. This is used to keep the setup UX honest: if a provider is detected but the application does not support OAuth for that provider (for example, no app credentials have been configured yet, or the developer chooses to suppress it), vuMailKit should not present OAuth as an available option.

This function does not persist settings. It affects the current process runtime only.

Parameters

Return Value

Returns a LONG result code:

Notes