From 1bac3a0ccfc4ce81a76eca8b3734b0d22d8f14ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Wed, 26 Sep 2018 10:37:20 +0200 Subject: [PATCH] swiftmailer is doing encodetorfc2822 --- htdocs/core/class/CMailFile.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/class/CMailFile.class.php b/htdocs/core/class/CMailFile.class.php index 9bd17a9670a..bb38563837a 100644 --- a/htdocs/core/class/CMailFile.class.php +++ b/htdocs/core/class/CMailFile.class.php @@ -408,7 +408,7 @@ class CMailFile // Give the message a subject try { - $this->message->setSubject($this->encodetorfc2822($subject)); + $this->message->setSubject($subject); } catch (Exception $e) { $this->error = $e->getMessage(); }