From c014749676284bd96d2ffa6022e03e72ec85ab4f Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Wed, 21 May 2025 17:01:19 +0200 Subject: [PATCH] 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());