Hi Guys,
i'm pretty sure that the following is not the best solution, but after trying for several hours now (too bad, i'm not a PHP programmer and i have to use a lot of try & error), i am happy with the second best solution now...
First, open the include/class.mailfetch.php and find the following:
//Generic decoder - mirrors imap_utf8
function mime_decode($text) {
$a = imap_mime_header_decode($text);
$str = '';
foreach ($a as $k => $part)
$str.= $part->text;
return $str?$str($text);
}
Replace the Function with the following:
//Generic decoder - mirrors imap_utf8
function mime_decode($text) {
$a = imap_utf8($text);
$str = '';
foreach ($a as $k => $part)
$str.= $part->text;
return $str?$str($text);
}
That is solving the incoming mails, at least for me.
Now for outgoing, go to include/class.email.php and look for the following (Line 135):
function send($to,$subject,$message,$attachment=null) {
global $cfg;
//Get SMTP info IF enabled!
$smtp=array();
...
I've added 3 lines to that like followed (after the global $cfg definition):
function send($to,$subject,$message,$attachment=null) {
global $cfg;
// the following 3 lines replace the german umlauts
$umlaute = array('ä', 'ö', 'ü', 'ß', 'Ä', 'Ö', 'Ü');
$ersetze = array('ae', 'oe', 'ue', 'ss', 'Ae', 'Oe', 'Ue');
$subject = str_replace($umlaute, $ersetze, $subject);
//Get SMTP info IF enabled!
$smtp=array();
...
This one converts all german umlauts in the Subject line with "ae", "oe" etc., this is not the best solution but it works. Even with someone answers to the ticket via email.
Hopefully there will be a correct implementation of that whole thing in a upcoming version.