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

ezcMailComposer bug when sending e-mails with long name and Norwegian characters

    XMLWordPrintable

    Details

      Description

      The problem occurs when using Zeta Components' ezcMailComposer to send e-mails that contain a "To" field with a long name (used 80-100 characters) AND non-standard Norwegian characters such as "ÆØÅæøÅ". When that happens, you will get an email where the email headers are corrupted.

      Steps to reproduce:

      • Configure PHP to use a suitable e-mail technology. For testing purposes, sendmail was enough, had no need to configure SMTP;
      • Copy the attached "testmail.php" script to eZ Publish's root;
      • Run script from command line like this:
      php testmail.php <test@email.com>
      

      The e-mail is sent with corrupted headers. Please refer to the attached "zeta_components_response_headers_nor_characters.txt" file. You will notice that there are double linebreaks after the Date header, which causes the problem.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                nuno.oliveira-obsolete@ez.no Nuno Oliveira (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: