This commit is contained in:
Marcus Bointon 2021-03-20 01:00:04 +01:00
parent 5f93907aa5
commit 59173eb2bf
No known key found for this signature in database
GPG Key ID: DE31CD6EB646AA24
1 changed files with 1 additions and 1 deletions

View File

@ -1200,8 +1200,8 @@ class PHPMailer
) {
//Decode the name part if it's present and encoded
if (
extension_loaded('mbstring') &&
property_exists($address, 'personal') &&
extension_loaded('mbstring') &&
preg_match('/^=\?.*\?=$/', $address->personal)
) {
$address->personal = mb_decode_mimeheader($address->personal);