Bugzilla – Attachment 127572 Details for
Bug 29330
Koha cannot send emails with attachments using Koha::Email and message_queue table
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29330: (QA follow-up) Use passed MIME type
Bug-29330-QA-follow-up-Use-passed-MIME-type.patch (text/plain), 1.06 KB, created by
Marcel de Rooy
on 2021-11-12 09:16:51 UTC
(
hide
)
Description:
Bug 29330: (QA follow-up) Use passed MIME type
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2021-11-12 09:16:51 UTC
Size:
1.06 KB
patch
obsolete
>From aa75caad22ecd81d03a08ab6357946d4937239b6 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Mon, 8 Nov 2021 08:10:38 -0300 >Subject: [PATCH] Bug 29330: (QA follow-up) Use passed MIME type >Content-Type: text/plain; charset=utf-8 > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Amended: tidied. >--- > C4/Letters.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Letters.pm b/C4/Letters.pm >index 49266f42ba..58e6293068 100644 >--- a/C4/Letters.pm >+++ b/C4/Letters.pm >@@ -1253,7 +1253,7 @@ sub _add_attachments { > foreach my $attachment ( @$attachments ) { > $message->attach( > Encode::encode( "UTF-8", $attachment->{content} ), >- content_type => 'application/octet-stream', >+ content_type => $attachment->{type} || 'application/octet-stream', > name => $attachment->{filename}, > disposition => 'attachment', > ); >-- >2.20.1
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 29330
:
127404
|
127405
|
127413
|
127414
|
127418
|
127419
|
127429
|
127430
|
127437
|
127444
|
127570
|
127571
| 127572 |
127573