Summary: | Script "process_message_queue.pl" no more accepting comma separated addresses | ||
---|---|---|---|
Product: | Koha | Reporter: | Michael Kuhn <mik> |
Component: | Architecture, internals, and plumbing | Assignee: | Tomás Cohen Arazi (tcohen) <tomascohen> |
Status: | RESOLVED DUPLICATE | QA Contact: | Testopia <testopia> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | tomascohen |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
GIT URL: | Change sponsored?: | --- | |
Patch complexity: | --- | Documentation contact: | |
Documentation submission: | Text to go in the release notes: | ||
Version(s) released in: | Circulation function: |
Description
Michael Kuhn
2021-03-22 18:54:30 UTC
Ok, so this was some hack: you manually intercept the messages_queue unsent messages, and tweak the message_queue.to_address column. Can you explain a bit more why aren't you using (say) NoticeBcc? (In reply to Tomás Cohen Arazi from comment #2) > Ok, so this was some hack: you manually intercept the messages_queue unsent > messages, and tweak the message_queue.to_address column. > > Can you explain a bit more why aren't you using (say) NoticeBcc? The first address is the one the main user while the second address is either a second address of this same person (e. g. his home address) or the address of his secretary (which actually often cares about the checked-out media instead of the main user). We do use system preference "NoticeBcc" but this contains another address - the head of the library (while at the moment in Koha 20.11 this also doesn't work, see Bug 26705) who needs to control what e-mails where sent out. I found a case of passing --to with multiple addresses to runreports.pl that stopped working, and might be related. This is actually fixed by bug 28870. Tested on master with (a good SMTP config on koha-conf.xml and) this command: $ perl misc/cronjobs/runreport.pl --to "tomascohen@gmail.com,nick@bywatersolutions.com,liz@bywatersolutions.com" --subject "Sending to tomascohen@gmail.com,nick@bywatersolutions.com,liz@bywatersolutions.com" --format html 1 *** This bug has been marked as a duplicate of bug 28870 *** |