Author Topic: versendete mails im text ohne umlaute  (Read 7157 times)

Offline geos_one

  • Newbie
  • *
  • Posts: 2
versendete mails im text ohne umlaute
« on: February 06, 2009, 08:20:14 AM »
hallo,

kennt jemand zufällig dieses problem das mail die aus rc versendet wurden beim empfänger im html part die umlaute vorhanden sind aber im text part nicht

danke im voraus

mario

Code: [Select]
From fetka@arge.at Fri Feb  6 13:49:42 2009
Delivered-To: nospam@gmail.com        
Received: by 10.223.104.138 with SMTP id p10cs26711fao;
        Fri, 6 Feb 2009 04:49:50 -0800 (PST)          
Received: by 10.103.92.8 with SMTP id u8mr713496mul.34.1233924590311;
        Fri, 06 Feb 2009 04:49:50 -0800 (PST)                        
Return-Path: <nospam@arge.at>                                        
Received: from hermes.arge.at (81-223-81-98.gries.xdsl-line.inode.at [81.223.81.98])
        by mx.google.com with ESMTP id 7si2331281mup.49.2009.02.06.04.49.49;        
        Fri, 06 Feb 2009 04:49:50 -0800 (PST)                                      
Received-SPF: neutral (google.com: 81.223.81.98 is neither permitted nor denied by best guess record for domain of fetka@arge.at) client-ip=81.223.81.98;
Authentication-Results: mx.google.com; spf=neutral (google.com: 81.223.81.98 is neither permitted nor denied by best guess record for domain of nospam@arge.at) smtp.mail=nospam@arge.at                                                                                                                                                                            
Received: from localhost (localhost.localdomain [127.0.0.1])                                                                                                                    
        by hermes.arge.at (Postfix) with ESMTP id 933F4C0FB9                                                                                                                    
        for <nospam@gmail.com>; Fri,  6 Feb 2009 13:49:48 +0100 (CET)                                                                                                      
X-Virus-Scanned: Debian amavisd-new at hermes.arge.at                                                                                                                            
Received: from hermes.arge.at ([127.0.0.1])                                                                                                                                      
        by localhost (hermes.arge.at [127.0.0.1]) (amavisd-new, port 10024)                                                                                                      
        with ESMTP id OXei8XgKphIw for <nospam@gmail.com>;                                                                                                                  
        Fri,  6 Feb 2009 13:49:43 +0100 (CET)                                                                                                                                    
Received: from hermes.arge.at (localhost.localdomain [127.0.0.1])                                                                                                                
        by hermes.arge.at (Postfix) with ESMTP id EEC8FC0FA9                                                                                                                    
        for <nospam@gmail.com>; Fri,  6 Feb 2009 13:49:42 +0100 (CET)                                                                                                      
MIME-Version: 1.0                                                                                                                                                                
Date: Fri, 06 Feb 2009 13:49:42 +0100
From: Mario Fetka <nospam@arge.at>
To: nospam@gmail.com
Subject: test umlaute
Message-ID: <58dc6565b6289432fb054cde94f93ce2@localhost>
X-Sender: nospam@arge.at
User-Agent: RoundCube Webmail/0.2
Content-Type: multipart/alternative;
  boundary=&quot;=_8ea967c2b871a3ec8de0e0159e34a401&quot;
X-UID: 4208
X-Length: 2814
Status: R
X-Status: N
X-KMail-EncryptionState:
X-KMail-SignatureState:
X-KMail-MDN-Sent:

--=_8ea967c2b871a3ec8de0e0159e34a401
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=&quot;UTF-8&quot;



testumlaute
--=_8ea967c2b871a3ec8de0e0159e34a401
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=&quot;UTF-8&quot;

<p>testumlaute&uuml;&uuml;&uuml;&uuml;&uuml;&uuml;&uuml;&uuml;&uuml;&auml;&=
auml;&auml;&auml;&auml;&auml;&auml;&auml;&auml;&auml;&auml;&auml;&auml;&aum=
l;&auml;&auml;&auml;&auml;&auml;&ouml;&ouml;&ouml;&ouml;&ouml;&ouml;&ouml;&=
ouml;&ouml;&ouml;&ouml;&ouml;&ouml;&ouml;&ouml;&ouml;&ouml;&ouml;&ouml;&oum=
l;&ouml;&Ouml;&Ouml;&Ouml;&Ouml;&Ouml;&Ouml;&Ouml;&Ouml;&Ouml;&Ouml;&Ouml;&=
Ouml;&Ouml;&Ouml;&Ouml;&Uuml;&Uuml;&Uuml;&Uuml;&Uuml;&Uuml;&Uuml;&Uuml;&Uum=
l;&Uuml;&Uuml;&Uuml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&=
Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&szlig;&szlig;&s=
zlig;&szlig;&szlig;&szlig;&szlig;&szlig;&szlig;&szlig;&szlig;&szlig;&szlig;=
&szlig;&szlig;&szlig;&szlig;</p>
--=_8ea967c2b871a3ec8de0e0159e34a401--
« Last Edit: February 06, 2009, 08:26:16 AM by geos_one »

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
versendete mails im text ohne umlaute
« Reply #1 on: February 06, 2009, 08:46:19 AM »
Kann ich nicht bestätigen:

Code: [Select]

Return-Path: <roland@xxx.de>
X-Spam-Score: 1.2
X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on VPS23166
X-Spam-required: 5.0
X-Spam-Level: *
X-Spam-Status: No, score=1.2 required=5.0 tests=ALL_TRUSTED,BAYES_60,
HTML_MESSAGE shortcircuit=no autolearn=disabled version=3.2.3
X-Spam-Report:
* -1.8 ALL_TRUSTED Passed through trusted hosts only via SMTP
*  3.0 BAYES_60 BODY: Bayesian spam probability is 60 to 80%
*      [score: 0.7372]
*  0.0 HTML_MESSAGE BODY: HTML included in message
Received: from xxx.cx ([127.0.0.1])
by smtp.xxx.de
with hMailServer ; Fri, 6 Feb 2009 14:42:56 +0100
MIME-Version: 1.0
Date: Fri, 06 Feb 2009 14:42:56 +0100
From: roland <roland@xxx.de>
To: <roland@xxx.de>
Subject: test
Message-ID: <8f51e7d8f79dd2b149030a5d3f448ed0@localhost>
X-Sender: roland@xxx.de
User-Agent: RoundCube Webmail/0.2
Content-Type: multipart/alternative;
boundary=&quot;=_778dda0f48984fc01ebb3c1ee0c53b86&quot;

--=_778dda0f48984fc01ebb3c1ee0c53b86
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=&quot;UTF-8&quot;



  äüö
--=_778dda0f48984fc01ebb3c1ee0c53b86
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=&quot;UTF-8&quot;

<p>&nbsp;</p>
<div>&auml;&uuml;&ouml;</div>
--=_778dda0f48984fc01ebb3c1ee0c53b86--



... erstellt mit RoundCube 0.2 im HTML-Editor-Modus.
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline geos_one

  • Newbie
  • *
  • Posts: 2
versendete mails im text ohne umlaute
« Reply #2 on: February 06, 2009, 09:01:44 AM »
Quote from: rosali;16874
Kann ich nicht bestätigen:


wo könnte das problem liegen es ist die orginal installation ohne jegliche art von patches.

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
versendete mails im text ohne umlaute
« Reply #3 on: February 06, 2009, 09:13:00 AM »
Ich vermute das liegt an Deinem PHP, da RoundCube mittels der Funktion html_entity_decode($HTTP_RAW_POST_DATA, ENT_COMPAT, 'UTF-8') die durch TinyMCE erzeugten Entities für Umlaute konvertiert (PHP: html_entity_decode - Manual).

Nur eine Vermutung!
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline lacri

  • Full Member
  • ***
  • Posts: 179
    • http://www.php-lexikon.de
versendete mails im text ohne umlaute
« Reply #4 on: February 19, 2009, 02:14:18 AM »
Ich vermute das passiert schon beim erstellen der Antwort E-Mail hab es nun mit PHP 5.2.6 und PHP 5.2.8 getestet.

habe eine Identität bei der ich eine HTML Signatur inkl. Umlaute aktiviert habe. (Mit freundlichen Grüssen)

PHP 5.2.6-pl2-gentoo Linux
Fehler: HTML E-Mail -> Antworten -> Signatur wird eingefügt jedoch ohne Umlaute!!!
OK: TEXT E-Mail -> Antworten -> Signatur wird korrekt eingefügt inkl. Umlaute.
Fehler: TEXT E-Mail -> Antworten -> Signatur ok -> switch to HTML Modus -> Umlaute sind alle weg :(

PHP 5.2.8-pl2-gentoo Linux
Fehler: HTML E-Mail -> Antworten -> Signatur wird eingefügt jedoch ohne Umlaute!!!
OK: TEXT E-Mail -> Antworten -> Signatur wird korrekt eingefügt inkl. Umlaute.
OK: TEXT E-Mail -> Antworten -> Signatur ok -> switch to HTML Modus Signatur Ok.
Fehler: TEXT E-Mail -> Antworten -> Signatur ok -> switch to HTML Modus Signatur Ok -> switch back to text Modus Umlaute sind wieder weg.

Evtl. kann das jemand Reproduzieren und verifizieren auf anderen Systemen bzw Konfigurationen. In jedem Fall verhalten sich die zwei PHP Versionen leicht unterschiedlich.

Bei mail4us.net also Rosali's Webmailsystem konnte ich den Fehler nicht reproduzieren. Zumindest nicht durch eingabe von Umlauten und switching Text -> HTML and back. Signatur einfügen schien nicht zu funktionieren zumindest nicht das Sie im compose Modus schon sichtbar war.
« Last Edit: February 19, 2009, 02:20:47 AM by lacri »

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
versendete mails im text ohne umlaute
« Reply #5 on: February 19, 2009, 10:17:20 AM »
Nur eine Anmerkung: Bei mail4us.net ist die RoundCube Signatur ausgeschaltet, da ich Signaturen Server seitig mit hMailServer hinzufüge und zur Konfiguration der Signaturen ein auf hMailServer zugeschnittenes Plugin verwende. Das hat den Vorteil, dass Signaturen auch an Nachrichten angehängt werden, die mit einem Desktop Client versendet werden.
Regards,
Rosali
__________________
MyRoundcube Project (commercial)