From c014749676284bd96d2ffa6022e03e72ec85ab4f Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Wed, 21 May 2025 17:01:19 +0200 Subject: [PATCH 1/2] use quoted printable encoding for email subject --- inc/inc.ClassEmailNotify.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/inc.ClassEmailNotify.php b/inc/inc.ClassEmailNotify.php index 798b91f5b..f70a1b8d8 100644 --- a/inc/inc.ClassEmailNotify.php +++ b/inc/inc.ClassEmailNotify.php @@ -206,7 +206,7 @@ class SeedDMS_EmailNotify extends SeedDMS_Notify { if($returnpath) $headers['Return-Path'] = $returnpath; $headers['To'] = $to; - $preferences = array("input-charset" => "UTF-8", "output-charset" => "UTF-8"); + $preferences = array("input-charset" => "UTF-8", "output-charset" => "UTF-8", "scheme"=>"Q"); $encoded_subject = iconv_mime_encode("Subject", getMLText($subject, $params, null, $lang), $preferences); $headers['Subject'] = substr($encoded_subject, strlen('Subject: ')); $headers['Date'] = date('r', time()); From 776f19d5012eff0bbc8447fe3a6a6ff8b205fbd9 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Wed, 21 May 2025 17:02:34 +0200 Subject: [PATCH 2/2] add changes for 5.1.40 --- CHANGELOG | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG b/CHANGELOG index 745d2493b..91ecae04a 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -9,6 +9,7 @@ - add hook displayPreviewThumb - add searching for mimetype in database - list of expired documents can be filtered by user +- use quoted printable encoding instead of base64 for email subjects -------------------------------------------------------------------------------- Changes in version 5.1.39