index 58fe60b5281521a2dd60a459df6152e46991a862..580c18c346a0ff8e0ec8f8885784c7bb29b732bf 100644 (file)
/* Cut domain name */
$val = preg_replace("/@.*$/","",$val);
/* Cut domain name */
$val = preg_replace("/@.*$/","",$val);
- $result[]=preg_replace ("/^.*".normalizePreg($folder)."/","INBOX", imap_utf7_decode ($val));
+ $result[]=preg_replace ("/^.*".normalizePreg($folder)."/","INBOX", mb_convert_encoding($val, "UTF-8", "UTF7-IMAP"));
}
}
}
}