| Home | Browse by Category | OAuth | All functions |
To use vuMailKit, add the global extension template to your Clarion application and enter the license supplied with your order.
The global template initializes vuMailKit licensing and generates the Clarion prototypes your application needs. The vuMailKit Email Setup Wizard is a separate utility template that you import into the application and run from the compiled EXE.
The wizard lets the user enter an email address, detects likely provider settings, handles OAuth authorization when the account requires it and OAuth support is enabled, sends a test email, and saves the working settings into a reusable profile. Adding the global template alone does not create that profile.
See vuMailKit Email Setup Wizard for the full workflow.
The vuMailKit global template generates the startup call that initializes licensing for the running EXE. Enter the developer license string in the template field inside single quotes.
Example format:
'license-string'
The generated startup code calls vuMailKitInitialize before vuMailKit send, setup, autodetect, or profile functions are used. If the license is not initialized, those functions return -9001 and vuMailLastError reports a vuMailKit licensing/setup problem.
Hand-coded integrations can call vuMailKitInitialize directly, but the normal Clarion template path is preferred.
In a Clarion multi-DLL application, add the vuMailKit global template to the EXE app.
Do not add it separately to each supporting DLL app. The EXE owns startup initialization. Once the EXE has initialized vuMailKit, the same runtime DLL is available to code called from anywhere in the running program.
This avoids the common mistake of placing the template in a DLL that may not run before another part of the program tries to send mail.
The template is the normal place to:
If you enable OAuth support in the vuMailKit global template, open the OAuth Settings tab and enter the provider values in quoted form.
Example format:
'client-string'
For Google / Gmail support, both the Google Client ID and Google Secret are entered this way.
When using Google / Gmail OAuth, the OAuth Success Name field lets you specify the name shown to the user on the Google success page after authorization completes successfully.
This is useful when you want the post-login success page to display your product name, company name, or application name instead of a more generic label.
Example:
'My Mail Utility'
Enter the value in quoted form, the same way you enter the Google client values.
This setting is used for the Google success page presentation only. It does not replace your Google Client ID or Google Secret.
For step-by-step provider setup instructions, see:
Include vuMailKit.dll with your application at runtime.
The .lib file is used only at compile time.
| Home | Browse by Category | OAuth | All functions |