diff --git a/mail.php b/mail.php index 928fc6d..61cfa0b 100644 --- a/mail.php +++ b/mail.php @@ -1356,7 +1356,7 @@ class mail } $date = trim ($this->getDate ()); $dateTimestamp = $this->getDateTimestamp (); - $subject = $this->getHeaderValue ("Subject"); + $subject = $this->decodeHeaders ("Subject", $this->getHeader ("Subject")); return get_defined_vars(); }