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


In This Topic
    Provider Property (MailJob)
    In This Topic

    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)
    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
    public string Provider {get; set;}
    public:
    property String^ Provider {
       String^ get();
       void set (    String^ value);
    }
    Remarks

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

    Requirements

    Platforms: Windows 8.1, Windows 10 (Version 20H2 - 21H2), Windows 11 (21H2), Windows Server 2012 - 2022

    See Also