with these chenges:
mime.php:
--- mime.php.old 2008-11-10 13:22:15.000000000 +0500
+++ mime.php 2008-11-11 11:46:41.000000000 +0500
@@ -358,13 +358,13 @@
if (PEAR::isError($filedata)) {
return $filedata;
}
-
+ $filename = iconv('UTF-8', 'cp866', $filename);
$this->_parts[] = array(
'body' => $filedata,
'name' => $filename,
'c_type' => $c_type,
'encoding' => $encoding,
- 'charset' => $charset,
+ 'charset' => 'cp866',
'language' => $language,
'location' => $location,
'disposition' => $disposition,
and config parameter:
$rcmail_config['mime_param_folding'] = 2;
attachments winth russian names shown correctly (cutted name with correct file extention) in following clients:
RoundCube 0.2, Mozilla Thunderbird, Outlook Express