Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-16893

Wrong charset encoding in notification email

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 4.3.0, 4.4.0alpha2
    • Fix Version/s: 4.4.0alpha4
    • Component/s: Notifications
    • Labels:
      None
    • Environment:

      Operating System: Solaris 10 / Centos 5.4
      PHP Version: 5.2.6
      Database and version: MySql 5.0.66
      Browser (and version): not relevant
      Client Mail: Outlook 2003
      eZ Components: 2009.2.1

      Description

      After the upgrade from eZ Publish 4.2.0 to 4.3.0 we note an encoding proble in notification email. Text is correctly utf8, but we receive an header width charset=us-ascii , so the mail client show utf8 text in us-ascii eencode.

      An example of smtp header:

      Delivered-To: ugiacalone@officinedigitali.it
      Received: by 10.216.85.84 with SMTP id t62cs79140wee; Tue, 8 Jun 2010 08:33:26
       -0700 (PDT)
      Received: by 10.227.151.66 with SMTP id b2mr1300858wbw.158.1276010712065; Tue,
       08 Jun 2010 08:25:12 -0700 (PDT)
      Return-Path: <ugiacalone@officinedigitali.it>
      Received: from aa003msb.fastweb.it (aa003msb.fastweb.it [85.18.95.82]) by
       mx.google.com with ESMTP id d4si16963781wbe.5.2010.06.08.08.25.11; Tue, 08
       Jun 2010 08:25:12 -0700 (PDT)
      Received-SPF: neutral (google.com: 85.18.95.82 is neither permitted nor denied
       by best guess record for domain of ugiacalone@officinedigitali.it)
       client-ip=85.18.95.82;
      Authentication-Results: mx.google.com; spf=neutral (google.com: 85.18.95.82 is
       neither permitted nor denied by best guess record for domain of
       ugiacalone@officinedigitali.it) smtp.mail=ugiacalone@officinedigitali.it
      Received: from officinedigitali.it (93.63.225.36) by aa003msb.fastweb.it
       (8.5.016.6) id 4B86A23809A83CE3 for ugiacalone@officinedigitali.it; Tue, 8
       Jun 2010 17:37:29 +0200
      Received: from localhost (unknown [192.168.0.36]) by officinedigitali.it
       (Postfix) with SMTP id C9B2C681D7 for <ugiacalone@officinedigitali.it>; Tue, 
       8 Jun 2010 17:25:11 +0200 (CEST)
      Message-ID: <201006081717811.17188.31@officinedigitali.it>
      References: <node.1.eznotification@lpini/ezbase420/index.php/ez430_sito_base>
       <node.2.eznotification@lpini/ezbase420/index.php/ez430_sito_base>
       <node.90.eznotification@lpini/ezbase420/index.php/ez430_sito_base>
      In-Reply-To: <node.90.eznotification@lpini/ezbase420/index.php/ez430_sito_base>
      From: Redattore Avanzato <ugiacalone@officinedigitali.it>
      To: 
      Subject: Articolo "Nuovo articolo&quot;" pubblicato
       [lpini/ezbase420/index.php/ez430_sito_base - Cartellamista]
      MIME-Version: 1.0
      User-Agent: eZ Components
      Date: Tue, 08 Jun 2010 17:25:11 +0200
      Content-Type: text/html; charset=us-ascii
      Content-Transfer-Encoding: 8bit
      
      Steps to reproduce

      Mailsettings configuration in site.ini

      [MailSettings]
      Transport=smtp
      TransportAlias[]
      TransportAlias[file]=eZFileTransport
      TransportAlias[sendmail]=eZSendmailTransport
      TransportAlias[smtp]=eZSMTPTransport
      TransportServer=sviluppo.od.loc
      TransportPort=25
      TransportUser=
      TransportPassword=
      SenderHost=localhost
      AdminEmail=nospam@ez.no
      EmailSender=nospam@ez.no
      EmailReplyTo=
      AllowedCharsets[]
      AllowedCharsets[]=us-ascii
      AllowedCharsets[]=utf-8
      AllowedCharsets[]=iso-8859-1
      AllowedCharsets[]=iso-8859-15
      AllowedCharsets[]=cp1252
      OutputCharset=utf-8
      ContentType=text/html
      HeaderLineEnding=auto
      SendmailOptions[]
      DebugSending=disabled
      DebugReceiverEmail=
      ExcludeHeaders[]
      

        Attachments

          Activity

            People

            Assignee:
            als Disabled User
            Reporter:
            ugiacalone Ugo Giacalone
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: