Bug 12544

Summary: Send scheduled reports as an attachment
Product: Koha Reporter: Peggy Thrasher <p.thrasher>
Component: ReportsAssignee: Kyle M Hall <kyle>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: amy, barton, brendan, hblancoca, jens.weber, jweaver, katrin.fischer, kyle, nick, nicole
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: Sponsored Patch complexity: Small patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 15133    
Bug Blocks:    
Attachments: Bug 12544 - Send scheduled reports as an attachment
Bug 12544 - Send scheduled reports as an attachment
Bug 12544 - Send scheduled reports as an attachment
Bug 12544 - Send scheduled reports as an attachment
Bug 12544 - Send scheduled reports as an attachment
[PASSED QA] Bug 12544 - Send scheduled reports as an attachment

Description Peggy Thrasher 2014-07-08 18:42:31 UTC
Currently, a scheduled report is emailed with the report in the body of the email.  If an option was added to allow the report to be sent as a .csv attachment, then these reports could be more easily used in automated ways.
Comment 1 Kyle M Hall 2015-11-03 19:45:14 UTC Comment hidden (obsolete)
Comment 2 Kyle M Hall 2015-11-03 19:46:29 UTC Comment hidden (obsolete)
Comment 3 Kyle M Hall 2015-11-05 16:41:03 UTC Comment hidden (obsolete)
Comment 4 Kyle M Hall 2015-11-06 13:38:56 UTC Comment hidden (obsolete)
Comment 5 Kyle M Hall 2015-11-06 13:45:03 UTC Comment hidden (obsolete)
Comment 6 Katrin Fischer 2015-12-03 18:21:52 UTC
Created attachment 45382 [details] [review]
[PASSED QA] Bug 12544 - Send scheduled reports as an attachment

This patch adds the ability to add the report as an attached file
to the sent email.

Test Plan:
1) Email yourself a test report
2) Apply this patch
3) Repeat step 1, note there is no difference
4) Add the -a parameter, note your also recieve the report as an attachment

Sponsored-by: Briar Cliff University

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Julius Fleschner <Julius.fleschner@briarcliff.edu>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 7 Katrin Fischer 2015-12-27 20:43:18 UTC
*** Bug 15401 has been marked as a duplicate of this bug. ***
Comment 8 Brendan Gallagher 2015-12-30 23:22:28 UTC
Pushed to master - thanks
Comment 9 Jonathan Druart 2016-03-01 11:07:52 UTC
*** Bug 15917 has been marked as a duplicate of this bug. ***
Comment 10 Humberto Blanco 2016-03-01 18:27:33 UTC
Dear all, 
this script uses sendmail, but we are using Mail::Sendmail  ani idea to patch this?

Humberto,
Comment 11 Nick Clemens (kidclamp) 2019-06-07 10:27:22 UTC
(In reply to Humberto Blanco from comment #10)
> Dear all, 
> this script uses sendmail, but we are using Mail::Sendmail  ani idea to
> patch this?
> 
> Humberto,

I am not sure what the problem is? If still relevant please open a new bug for discussion. Closing this one out