ez.no / ezpublish / documentation / incoming / line ending in email
These documentation pages are no longer maintained. Please visit the new documentation site.
Only available in 3.4 or higher
Some mailservers (MTAs) have problems with the standard line ending CR LF in headers of e-mail. eZ Publish provides a site.ini setting to work around this issue. This setting changes the standard line ending into something else:
[MailSettings] # The line endings used for headers in mail messages. If you need to use # control characters like LF or CR you need to use it's urlencoded value, for # example %0A for LF and %0D for CR. The default setting is what RFC 2045 # requires: CRLF HeaderLineEnding=%0D%0A
The setting that also makes sense (LF only) for broken MTAs is:
[MailSettings] HeaderLineEnding=%0A
Please note that it is always better to configure your MTA to correctly handle all types of line endings.
Comments
for pre-3.4:
Marco Zinn
Friday 05 November 2004 12:35:17 am
I think, the file was /lib/ezmail.php or similar.
There was a constant string defined near the top of the file, that could be changed to alter the linefeed setting.