Valid from List & Label 10Starting with List & Label 10 you can easily send export results directly via SMTP. Thus, you no longer need a MAPI client on the user's machine.
Until List & Label 16 the mail settings can be adjusted globally using the "combit Mail Settings" control panel applet. Alternatively, your application may use custom settings. Please note the API LsMailConfigurationDialog().
The mail functionality can be accessed via the usual exporter API. For VB, Delphi and .NET, take a look at the "Export" example.
In C# the code would look like this:
LL.ExportOptions.Add(LlExportOption.ExportSendAsMail, "1"); LL.ExportOptions.Add(LlExportOption.ExportMailTo, "combit <SMTP:email@example.com>"); LL.ExportOptions.Add(LlExportOption.ExportMailSubject, "combit List & Label mail test"); LL.ExportOptions.Add(LlExportOption.ExportMailShowDialog, "1"); LL.ExportOptions.Add(LlExportOption.ExportMailSendResultAs, "text/html");
The last line tells List & Label to send the export result directly as mail body, not as an attachment. This makes it easy to design and send personalized HTML emails with List & Label.