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

Mail Headers are not encoded when using SMTP

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Medium Medium
    • Resolution: Fixed
    • Affects Version/s: 2011.10, 2011.11, 4.4.1, 4.5.0, 4.6.0
    • Fix Version/s: 4.7.0alpha1
    • Component/s: Misc, Notifications
    • Labels:
      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()

        Issue Links

          Activity

          Hide
          Jérôme Vieilledent added a comment - - edited

          This issue is related to [https://issues.apache.org/jira/browse/ZETACOMP-114|this ZetaComponent issue]

          Show
          Jérôme Vieilledent added a comment - - edited This issue is related to [https://issues.apache.org/jira/browse/ZETACOMP-114|this ZetaComponent issue]
          Show
          Jérôme Vieilledent added a comment - Fixed in master ( https://github.com/ezsystems/ezpublish/commit/a7f14ad2143edcd2f230ad8b66ebdbe221b0c27d )
          Hide
          Geir Arne Waaler added a comment -

          This issue is fixed, so I move it to Closed.

          Show
          Geir Arne Waaler added a comment - This issue is fixed, so I move it to Closed.

            People

            • Assignee:
              Jérôme Vieilledent
              Reporter:
              Jérôme Vieilledent
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: