combit List & Label 30 - .NET Help
combit.Reporting Namespace / MailJob Class / Provider Property


Provider Property (MailJob)

This option can be used to switch the mail provider. All options besides MSMAPI need the mail module (cmmx??.dll (32-bit) or cxmx??.dll (64-bit)).

 

Value Meaning
SMAPI Simple MAPI
XMAPI Extended MAPI
MSMAPI System MAPI (using the default MAPI client)
SMTP Sending mail via SMTP (see AdditionalOptions for connection data)
GRAPH

Microsoft Graph API e.g. for the Office 365 Cloud (for connection data see AdditionalOptions)

For using the GRAPH provider additional files are needed:

- combit.ListLabelXX.GraphMailExtension.dll

- combit.ListLabelXX.MailExtensions_x86.dll or combit.ListLabelXX.MailExtensions_x64.dll

- The content of the associated Microsoft.Graph subfolder

Default The default value depends on the system's or application's settings (see below)


If the DLL can not be found, the mail will be sent using system MAPI (MSMAPI). The provider is selected by either setting it explicitly using this option or letting the user choose in the LsMailConfigurationDialog(). List & Label tries first to retrieve the application specific mail settings from the registry. If those can not be found, the global mail settings will be applied. These can be set using LsMailConfigurationDialog().

Syntax
'Declaration
 
Public Property Provider As String
 
Remarks

For sending mail via SMTP or GRAPH are additional connection data necessary like server, user and password etc. These information can be applied with the property AdditionalOptions.

Requirements

Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
.NET: .NET Framework 4.8, .NET 6, .NET 8, .NET 9

See Also