Bug 31487

Summary: Add emails to message queue by longoverdue script options
Product: Koha Reporter: Thibaud Guillot (thibaud_g) <thibaud.guillot>
Component: Command-line UtilitiesAssignee: Bugs List <koha-bugs>
Status: Patch doesn't apply --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: andrew, lucas, robin
Version: MainKeywords: no-sandbox
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 24857: No words
Bug 31487: Add an option to send by mail longoverdue items to borrowers
Bug 31487: Add an option to send by mail longoverdue items to borrowers

Description Thibaud Guillot (thibaud_g) 2022-08-30 08:29:14 UTC
Some customers request the possibility of sending an additional reminder when processing longoverdues. I think this may be useful for some and given that it remains an option, it does not handicap those who do not want to use it.
Comment 1 Thibaud Guillot (thibaud_g) 2022-08-30 09:59:45 UTC
Created attachment 139975 [details]
Bug 24857: No words

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Comment 2 Thibaud Guillot (thibaud_g) 2022-08-30 10:00:38 UTC Comment hidden (obsolete)
Comment 3 Thibaud Guillot (thibaud_g) 2022-08-30 10:01:53 UTC Comment hidden (obsolete)
Comment 4 Thibaud Guillot (thibaud_g) 2022-08-30 10:09:00 UTC
Created attachment 139977 [details] [review]
Bug 31487: Add an option to send by mail longoverdue items to borrowers

Test plan:
1) You must have longoverdue items to one or many borrowers
2) You must create a notice template (Notices & slips section)
3) You can run the script misc/cronjobs/longoverdue.pl manually without
--mail option first (see -h or --help for more info about the script)
4) You must see an output with some longoverdues (step 1 required)
5) Now you can run the script with --mail option but like its specify in
"help" option you must add option --code="" (relative to your code
template) and --branchcode="".
6) Normally you will see after the classic output a new block with
emails added to the message queue and it will be sent on the next misc/cronjobs/process_message_queue.pl script iteration
Comment 5 Thibaud Guillot (thibaud_g) 2022-08-30 10:11:23 UTC Comment hidden (obsolete)
Comment 6 Lucas Gass (lukeg) 2024-02-15 21:45:55 UTC
No longer applies to current master.