Hello,
I need to schedule a batch of reports to run in ColdFusion(one per salesperson), export them to Excel, and then automatically email them as attachments to each salesperson once a week.
I guess I should loop through each salesperson, create the report for that person, export to Excel and upload the file somewhere. Then I need to send it out to that recipient with CFMAIL and CFMAILPARAM.
Any help on the code for this would be appreciated.
Thanks,
Peter
![[smile] [smile] [smile]](/data/assets/smilies/smile.gif)
I need to schedule a batch of reports to run in ColdFusion(one per salesperson), export them to Excel, and then automatically email them as attachments to each salesperson once a week.
I guess I should loop through each salesperson, create the report for that person, export to Excel and upload the file somewhere. Then I need to send it out to that recipient with CFMAIL and CFMAILPARAM.
Any help on the code for this would be appreciated.
Thanks,
Peter
![[smile] [smile] [smile]](/data/assets/smilies/smile.gif)
![[smile] [smile] [smile]](/data/assets/smilies/smile.gif)