mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
Fix GH-8086: Introduce mail.mixed_lf_and_crlf INI
When this INI option is enabled, it reverts the line separator for headers and message to LF which was a non conformant behavior in PHP 7. It is done because some non conformant MTAs fail to parse CRLF line separator for headers and body. This is used for mail and mb_send_mail functions.
This commit is contained in:
parent
4d8f981818
commit
cc931af35d
10 changed files with 83 additions and 11 deletions
|
@ -1095,6 +1095,10 @@ smtp_port = 25
|
|||
; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
|
||||
mail.add_x_header = Off
|
||||
|
||||
; Use mixed LF and CRLF line separators to keep compatibility with some
|
||||
; RFC 2822 non conformant MTA.
|
||||
mail.mixed_lf_and_crlf = Off
|
||||
|
||||
; The path to a log file that will log all mail() calls. Log entries include
|
||||
; the full path of the script, line number, To address and headers.
|
||||
;mail.log =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue