Details
-
Bug
-
Resolution: Fixed
-
Medium
-
5.1, 5.2, 5.3.3, 5.4-dev
-
CLI script using Zeta Components' ezcMailComposer
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
- testing discovered
-
EZP-23608 ezcMailComposer bug when sending e-mails with long name return prescan: token too long on Debian
- Confirmed