RCMAIL_CHARSET -> RCUBE_CHARSET
This commit is contained in:
parent
bbfa7ad97f
commit
a72a0ca097
2 changed files with 5 additions and 5 deletions
|
@ -257,7 +257,7 @@ class kolab_storage
|
||||||
{
|
{
|
||||||
self::setup();
|
self::setup();
|
||||||
|
|
||||||
$folder = rcube_charset::convert($prop['name'], RCMAIL_CHARSET, 'UTF7-IMAP');
|
$folder = rcube_charset::convert($prop['name'], RCUBE_CHARSET, 'UTF7-IMAP');
|
||||||
$oldfolder = $prop['oldname']; // UTF7
|
$oldfolder = $prop['oldname']; // UTF7
|
||||||
$parent = $prop['parent']; // UTF7
|
$parent = $prop['parent']; // UTF7
|
||||||
$delimiter = self::$imap->get_hierarchy_delimiter();
|
$delimiter = self::$imap->get_hierarchy_delimiter();
|
||||||
|
|
|
@ -818,7 +818,7 @@ class kolab_storage_folder
|
||||||
false, // is_file
|
false, // is_file
|
||||||
'8bit', // encoding
|
'8bit', // encoding
|
||||||
'attachment', // disposition
|
'attachment', // disposition
|
||||||
RCMAIL_CHARSET // charset
|
RCUBE_CHARSET // charset
|
||||||
);
|
);
|
||||||
$part_id++;
|
$part_id++;
|
||||||
|
|
||||||
|
@ -840,15 +840,15 @@ class kolab_storage_folder
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$headers = array('Content-ID' => Mail_mimePart::encodeHeader('Content-ID', '<' . $key . '>', RCMAIL_CHARSET, 'quoted-printable'));
|
$headers = array('Content-ID' => Mail_mimePart::encodeHeader('Content-ID', '<' . $key . '>', RCUBE_CHARSET, 'quoted-printable'));
|
||||||
$name = !empty($att['name']) ? $att['name'] : $key;
|
$name = !empty($att['name']) ? $att['name'] : $key;
|
||||||
|
|
||||||
if (!empty($att['content'])) {
|
if (!empty($att['content'])) {
|
||||||
$mime->addAttachment($att['content'], $att['mimetype'], $name, false, $encoding, 'attachment', '', '', '', null, null, '', RCMAIL_CHARSET, $headers);
|
$mime->addAttachment($att['content'], $att['mimetype'], $name, false, $encoding, 'attachment', '', '', '', null, null, '', RCUBE_CHARSET, $headers);
|
||||||
$part_id++;
|
$part_id++;
|
||||||
}
|
}
|
||||||
else if (!empty($att['path'])) {
|
else if (!empty($att['path'])) {
|
||||||
$mime->addAttachment($att['path'], $att['mimetype'], $name, true, $encoding, 'attachment', '', '', '', null, null, '', RCMAIL_CHARSET, $headers);
|
$mime->addAttachment($att['path'], $att['mimetype'], $name, true, $encoding, 'attachment', '', '', '', null, null, '', RCUBE_CHARSET, $headers);
|
||||||
$part_id++;
|
$part_id++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue