+1 800 256 3608 (toll-free in North America) or +49 7531 90 60 10| service@combit.com

Sending Export Results Via SMTP

export
(combit Team) #1
Valid from List & Label 10
Starting 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:llmailtest@combit.net>");
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.

Verwandte Artikel:

KBTE000636
IDKBTE000635 KBTE000635