summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bfd2ef5)
raw | patch | inline | side by side (parent: bfd2ef5)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 17 Oct 2007 17:05:05 +0000 (17:05 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 17 Oct 2007 17:05:05 +0000 (17:05 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7588 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_mail-methods-cyrus.inc | patch | blob | history |
index 58fe60b5281521a2dd60a459df6152e46991a862..580c18c346a0ff8e0ec8f8885784c7bb29b732bf 100644 (file)
/* 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"));
}
}