This is a preferred function introduced in vuMailKit 1.0.
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.
Provider (LONG)
Provider constant:
EnableFlag (LONG)
Returns a LONG result code: