Hi! I have mayor problems sending the generated report as SMTP since I dont know where to keep all the credentials for our smtp-server in c# asp.net.
I can export my reports perfectly as pdf:s but i’m not sure how to att the exportoptions for the smtp-server, this is what i’ve got so far:
LL.ExportOptions.Add(LlExportOption.ExportSendAsMail, “1”);
LL.ExportOptions.Add(LlExportOption.ExportMailTo, “MyEmail SMTP:myemail@email.com”);
LL.ExportOptions.Add(LlExportOption.ExportMailSubject, “TestSubject”);
LL.ExportOptions.Add(LlExportOption.ExportMailShowDialog, “1”);
LL.ExportOptions.Add(LlExportOption.ExportMailSendResultAs, “text/html”);
I might add i’m using List & Label 16. What I really want to do is
- Create generated pdf (which works perfectly).
- Send pdf with list & label.
Ofcourse I can send the email through other smtp-clients but It would be kinda awesome if List & Label could take care of that aswell!
// Fredrik