Bugzilla – Attachment 166377 Details for
Bug 31627
Add ability to embed the letter ID in outgoing email notices
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31627: Send message id in email header as well
Bug-31627-Send-message-id-in-email-header-as-well.patch (text/plain), 976 bytes, created by
Kyle M Hall (khall)
on 2024-05-08 10:42:50 UTC
(
hide
)
Description:
Bug 31627: Send message id in email header as well
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2024-05-08 10:42:50 UTC
Size:
976 bytes
patch
obsolete
>From 7da2dbde04f7cd5b46c15954e0b2f35b6086ee1d Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Wed, 8 May 2024 06:41:15 -0400 >Subject: [PATCH] Bug 31627: Send message id in email header as well > >--- > C4/Letters.pm | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/C4/Letters.pm b/C4/Letters.pm >index c7c76ce8ebe..6bc6e870bd3 100644 >--- a/C4/Letters.pm >+++ b/C4/Letters.pm >@@ -1464,7 +1464,8 @@ sub _send_message_by_email { > $email->create($params); > } else { > $email = Koha::Email->create($params); >- $email->header('X-Koha-Message-ID', $message->{id} ) if C4::Context->preference('SendLetterIdInEmailNotices'); >+ $email->header('X-Koha-Letter-Id', $message->{letter_id} ); >+ $email->header('X-Koha-Message-Id', $message->{id} ); > if ($is_html) { > $email->html_body( _wrap_html( $content, $subject ) ); > } else { >-- >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 31627
:
140998
|
141025
|
142826
|
143022
|
151536
|
151537
|
155364
|
166374
|
166375
|
166376
|
166377
|
166378
|
166379
|
166399
|
166400
|
166401