From 54f99edf07712702ccfa865ace01445b12cfbb28 Mon Sep 17 00:00:00 2001 From: Micheal Date: Fri, 2 Jan 2015 16:03:06 +0800 Subject: [PATCH] DataObjects/Core_email.php --- DataObjects/Core_email.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/DataObjects/Core_email.php b/DataObjects/Core_email.php index a6f0d9cd..d99ea9b6 100644 --- a/DataObjects/Core_email.php +++ b/DataObjects/Core_email.php @@ -457,6 +457,9 @@ Content-Transfer-Encoding: 7bit function messageFrom() { + if (empty($this->from_name)) { + return $this->from_email; + } return '"' . addslashes($this->from_name) . '" <' . $this->from_email. '>' ; } -- 2.39.2