combit List & Label 28 - .NET Help
combit.Reporting Namespace / MailJob Class
Properties Methods

In This Topic
    MailJob Class Members
    In This Topic

    The following tables list the members exposed by MailJob.

    Public Constructors
     NameDescription
    Public Constructor  
    Top
    Public Properties
     NameDescription
    Public Property

    Allows to define some additional mail options e.g. for sending via SMTP or GRPAH.

    These options can be found in the Programmer's Reference for "Export.Mail..." (see also Setting Mail Parameters by Code).

     
    Public PropertyArrayList of files to attach. Add the paths of the files to attach to the list.  
    Public PropertyThis address will receive a blind carbon copy. Multiple recipients can be separated by semicolons.  
    Public Property

    Mail body text.

     
    Public PropertyMail body text (HTML).  
    Public PropertyMail body text (RTF).  
    Public PropertyThis address will receive a carbon copy. Multiple recipients can be separated by semicolons.  
    Public Property  
    Public Property

    Sender of the email.

     
    Public Property

    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().

     
    Public Property

    Chooses to send the mail without any further user interaction.

     

    Value Meaning
    false

    The mail is sent directly without any further user interaction (at least 1 TO recipient must be given)

    true

    The standard "Send mail" dialog is displayed. The values passed are preset there.



     
    Public Property

    The name of an Outlook signature or the path and file name (without file name extension!) of a signature file. Depending on body text type, the file name extension txt, rtf or htm will be appended.

     
    Public Propertyemail subject.  
    Public PropertyRecipient address. Multiple recipients can be separated by semicolons.  
    Public Property  
    Top
    Public Methods
     NameDescription
    Public Method  
    Public MethodSends the email.  
    Top
    See Also