Emailing Reports

Hi,

We have a number of earlier projects that we have a separate client for reporting. This client has an individual report set up for each site as required. The reports are then saved as a PDF to the drive on the PC and retrieved in PDF format as required in the client. This way allows us to have a script to email reports at the end of each month by pulling them in PDF format from the c drive on the PC and emailing them. On our newer projects we have set up a mimic that has parameters passed in which will then display all relevant information as required. My issue is, is there a way for this report type to be emailed?

Sounds like a combination of system.file.readFileAsBytes() and system.net.sendEmail() would do what you want. Check out example 3 at inductiveautomation.com/supp … demail.htm