I need to send multiple users monthly invoices using crystal reports and logicity as auto emails -


is there way send multiple emails of invoice reports using 1 crystal report.

i facing issue have send multiple emails each user.

thanks in advance. ajay

well, (fio) figured out generating reports , saving local drive rather sending emails time consumption.

// cs file method.

  //0. setting controller                 opsmanagementcontroller om = new opsmanagementcontroller();                  //1. getting users list:                 var result = om.getusersforinvoice();                  //2. creating folder invoices:                 string foldername = @"d:\google drive\monthlyinvoices";                 string filename = ("invoices_" + datetime.now.tostring("dd-mm-yyyy").tostring());                 string pathstring = system.io.path.combine(foldername, filename);                 system.io.directory.createdirectory(pathstring);                  //3. generating invoices user name:                 (int = 0; < result.userdetail.count; i++)                 {                     var userid = result.userdetail[i].userid;                     var username = result.userdetail[i].fullname;                     username = username.replace(@"c\o", "co");                     username = username.replace(@"c/o", "co");                      report2.setparametervalue("userid", result.userdetail[i].userid);                     report2.exporttodisk(exportformattype.portabledocformat, "d:/google drive/monthlyinvoices/" + filename + "/" + username + ".pdf");                 } 

contact please, if need help.


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -