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

Mail Headers are not encoded when using SMTP

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 4.7.0alpha1
    • 2011.10, 2011.11, 4.4.1, 4.5.0, 4.6.0
    • Misc, Notifications
    • None

    Description

      Hi,

      when using SMTP as Transport the Headers 'From', 'To', 'cc' and 'Bcc' are not encoded by eZPublish (ezc). Subject is encoded correctly like ().

      Subject: =?utf-8?Q?Artikel=20"Neu=C3=B6=C3=B6=C3=B6?==?utf-8?Q?=C3=B6=C3=B6?=
      =?utf-8?Q?=C3=B6=20Artikel=20googleMail?==?utf-8?Q?"=20wurde?=
      =?utf-8?Q?=20aktualisiert=20[fi-int?==?utf-8?Q?ranet.in?==?utf-8?Q?te?=
      =?utf-8?Q?rn=20-=20TestOrdnerSubtre?==?utf-8?Q?eNotific?==?utf-8?Q?at?=
      =?utf-8?Q?ion]?=
      

      But From has no encoding:

      **From: mailTestäöüß mailTestäöüß <dn@ez.no>**

      This causes errors in mail clients or the From field has terrible characters.

      See:
      ezcMail::generateHeaders()
      ezcMailPart::generateHeaders()
      Debug:
      ezcMailSmtpTransport::sendData()

      Attachments

        Activity

          People

            jv@ez.no jv@ez.no
            jv@ez.no jv@ez.no
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: