I'm trying to set sender name and file name when sending e-mail.
As for sender name, default name is John Smith and I do not see where to change it. Additionally, it would be helpful to integrate some kind of 'mailto' function to open default email service app and attach exported file.
I have done following to get specified fileName on export, but it's not working on e-mail sending:
Code: Select all
viewer.onBeginExportReport = function (args) {
<?php //StiHelper::createHandler(); ?>
args.fileName = "Ponuda_"+report.dictionary.variables.getByName("pon").valueObject+'-'+report.dictionary.variables.getByName("god").valueObject;
}
Thanks!