Bugzilla – Attachment 138760 Details for
Bug 31281
Overdue notices reply-to email address of a branch not respected
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31281: Use correct reply-to email when sending overdue mails
Bug-31281-Use-correct-reply-to-email-when-sending-.patch (text/plain), 1.81 KB, created by
Katrin Fischer
on 2022-08-07 16:24:24 UTC
(
hide
)
Description:
Bug 31281: Use correct reply-to email when sending overdue mails
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2022-08-07 16:24:24 UTC
Size:
1.81 KB
patch
obsolete
>From 2c31de6d8c95cd6d882093e70f403c5f7eec58e2 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Sun, 7 Aug 2022 16:14:37 +0000 >Subject: [PATCH] Bug 31281: Use correct reply-to email when sending overdue > mails > >Overdue emails are either sent from the issuing or the home >library of an item. We never use the patron's home library, >so the reply-to address must explicitly be set in EnqueueLetter. > >To test: >- Set up 2 branches (A and B) with different email addresses. >- Set up an SMTP server for each to use >- Set up an overdue notice trigger for the patron category you'll use > First letter: 1 day delay, any notice >- Check out an item with home branch B to a patron from A >- Run the the script with: > overdue_notices.pl -t --frombranch item-homebranch > overdue_notices.pl -t --frombranch item-issuebranch >- Confirm for each setting that the correct email headers have been > used. You can see the reply-to address and to-address in the > message queue: > SELECT * FROM message_queue; >--- > misc/cronjobs/overdue_notices.pl | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/misc/cronjobs/overdue_notices.pl b/misc/cronjobs/overdue_notices.pl >index 86a0cb0266..3444b2333f 100755 >--- a/misc/cronjobs/overdue_notices.pl >+++ b/misc/cronjobs/overdue_notices.pl >@@ -806,6 +806,7 @@ END_SQL > message_transport_type => $effective_mtt, > from_address => $admin_email_address, > to_address => join(',', @emails_to_use), >+ reply_address => $library->inbound_email_address, > } > ) unless $test_mode; > # A print notice should be sent only once per overdue level. >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 31281
:
138760
|
139016