| Home | OAuth | Microsoft OAuth | Google / Gmail OAuth |
This section explains how to prepare OAuth credentials for use with vuMailKit.
OAuth is commonly required for modern Microsoft 365, Outlook.com, Google, and Gmail accounts. vuMailKit includes built-in OAuth support and helper functions, but the developer must still obtain provider credentials from Microsoft or Google before those flows can be used in an application.
OAuth credentials are entered in the vuMailKit global template.
Go to:
There you can:
Enter each credential value in this format:
'client-string'
The surrounding single quotes are required because these values are stored in the template in quoted string form.
Use the Microsoft guide if you are working with accounts such as:
Use the Google / Gmail guide if you are working with accounts such as:
Some email addresses use a custom domain that does not clearly identify the real provider.
For example, a mailbox such as user@yourcompany.com may actually be hosted by:
In cases like that, vuMailKit may not be able to determine from the domain alone that OAuth should be used.
If autodetect does not identify the mailbox as an OAuth account, but you know the mailbox is hosted by Google or Microsoft, use Manual Configuration in the wizard and select the appropriate sign-in method and server settings for the real provider.
This does not mean OAuth is unsupported for that mailbox. It only means the provider could not be safely identified from the email domain alone.
For provider-specific guidance, see:
The OAuth-related runtime functions are documented in the function reference here:
These guides are written specifically for vuMailKit developers. Their purpose is to show what you need to create at the provider side and exactly how those values are entered into the vuMailKit template.
Provider portals change over time, so some screen labels may vary slightly from what you see today. The important part is to collect the correct credential values and enter them into vuMailKit in the format shown above.
| Home | OAuth | Microsoft OAuth | Google / Gmail OAuth |