martin.miskovic's picture

Greetings everybody,

I am trying to send an e-mail with attachment from Aris. I am using this class:

Problem is that I can not determine the path for the report file output. I work with XlsWorkbook class that has no method to get a path to the file. Report seems to be working with the file in temp directory, where I can't figure out where the file is saved.

I can change the final destination of the output, but this will save workbook at the end of the script runtime. Meaning I would have to create one report to export data into the file and the other to send this saved file via e-mail message.

Any ideas will be appreciated. Thank you.