View | Details | Raw Unified | Return to bug 24197
Collapse All | Expand All

(-)a/installer/data/mysql/atomicupdate/bug_24197-new_RedirectAddressForFailedOverdueNotices_syspref.sql (+1 lines)
Line 0 Link Here
1
INSERT INGORE INTO systempreferences (variable, value, options, explanation, type) VALUES ('RedirectAddressForFailedOverdueNotices', '', NULL, 'Destination email for failed overdue notices. If left empty then the branch email or KohaAdminEmailAddress syspref will be the email address that failed overdue notices are sent to', 'free');
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref (+5 lines)
Lines 21-26 Administration: Link Here
21
              class: email
21
              class: email
22
            - "(Leave this field empty to send messages to their normal recipient)"
22
            - "(Leave this field empty to send messages to their normal recipient)"
23
        -
23
        -
24
            - "Email address failed overdue notices are sent to: "
25
            - pref: RedirectAddressForFailedOverdueNotices
26
              class: email
27
            - "If left empty then the branch email or KohaAdminEmailAddress will be set as the destination address for failed overdue notices"
28
        -
24
            - "How much debugging information to show in the browser when an internal error occurs: "
29
            - "How much debugging information to show in the browser when an internal error occurs: "
25
            - pref: DebugLevel
30
            - pref: DebugLevel
26
              default: 0
31
              default: 0
(-)a/misc/cronjobs/overdue_notices.pl (-2 / +1 lines)
Lines 821-827 END_SQL Link Here
821
                borrowernumber         => undef,
821
                borrowernumber         => undef,
822
                message_transport_type => 'email',
822
                message_transport_type => 'email',
823
                attachments            => [$attachment],
823
                attachments            => [$attachment],
824
                to_address             => $admin_email_address,
824
                to_address             => C4::Context->preference('RedirectAddressForFailedOverdueNotices'),
825
            }
825
            }
826
        ) unless $test_mode;
826
        ) unless $test_mode;
827
    }
827
    }
828
- 

Return to bug 24197