1
0
mirror of https://github.com/php/doc-en.git synced 2026-03-23 23:32:18 +01:00

Documented the mail.mixed_lf_and_crlf ini setting added in 8.2.4

This closes https://github.com/php/doc-en/issues/3167
This commit is contained in:
philip
2025-03-04 08:22:58 -08:00
parent 66aff414be
commit 9127058419

View File

@@ -22,6 +22,12 @@
<entry><constant>INI_PERDIR</constant></entry>
<entry></entry>
</row>
<row>
<entry><link linkend="ini.mail.mixed_lf_and_crlf">mail.mixed_lf_and_crlf</link></entry>
<entry>"0"</entry>
<entry><constant>INI_SYSTEM</constant>|<constant>INI_PERDIR</constant></entry>
<entry>Added in PHP 8.2.4</entry>
</row>
<row>
<entry><link linkend="ini.mail.log">mail.log</link></entry>
<entry>NULL</entry>
@@ -95,6 +101,21 @@
</listitem>
</varlistentry>
<varlistentry xml:id="ini.mail.mixed_lf_and_crlf">
<term>
<parameter>mail.mixed_lf_and_crlf</parameter>
<type>bool</type>
</term>
<listitem>
<para>
Allows reverting the line separator for email headers and message bodies to LF (Line Feed),
mimicking the non-compliant behavior of PHP 7. It is provided as a compatibility measure
for certain non-compliant Mail Transfer Agents (MTAs) that fail to correctly process CRLF
(Carriage Return + Line Feed) as a line separator in email headers and message content.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.mail.force_extra_parameters">
<term>
<parameter>mail.force_extra_parameters</parameter>