diff --git a/class.simple_mail.php b/class.simple_mail.php
index <HASH>..<HASH> 100755
--- a/class.simple_mail.php
+++ b/class.simple_mail.php
@@ -546,7 +546,7 @@ class SimpleMail
     public function formatHeader($email, $name = null)
     {
         $email = $this->filterEmail((string) $email);
-        if (empty(trim($name))) {
+        if (empty($name)) {
             return $email;
         }
         $name = $this->encodeUtf8($this->filterName((string) $name));
Fix issue with calling `trim` and expecting a return value in PHP < <I>