diff --git a/src/MailHog.php b/src/MailHog.php index acbfc36..134a835 100644 --- a/src/MailHog.php +++ b/src/MailHog.php @@ -444,7 +444,7 @@ protected function getDecodedEmailProperty($email, $property) { ) { $property = quoted_printable_decode($property); } - if (strpos($property, '=?utf-8?Q?') !== false && extension_loaded('mbstring')) { + if (strpos(strtolower($property), '=?utf-8?q?') !== false && extension_loaded('mbstring')) { $property = mb_decode_mimeheader($property); } }