diff --git a/CHANGELOG b/CHANGELOG index 06b20698e..bb1be36a5 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -332,6 +332,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 diff --git a/inc/inc.ClassEmailNotify.php b/inc/inc.ClassEmailNotify.php index 6369c616b..bf362c59d 100644 --- a/inc/inc.ClassEmailNotify.php +++ b/inc/inc.ClassEmailNotify.php @@ -205,7 +205,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());