Bug #15509 Updated: fifth argument in mail only supports one parameter and no spaces

From: Date: Sun, 02 Jun 2002 22:26:17 +0000
Subject: Bug #15509 Updated: fifth argument in mail only supports one parameter and no spaces
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-9234@lists.php.net to get a copy of this message
ID: 15509 Updated by: mfischer@php.net Reported By: andreia.mahler@ipayx.com -Status: Open +Status: Feedback Bug Type: Mail related Operating System: Linux RedHat 7.1 PHP Version: 4.1.1 New Comment: Do you have safe_mode enabled? Previous Comments: ------------------------------------------------------------------------ [2002-02-11 13:32:14] andreia.mahler@ipayx.com The behavior of the fifth parameter of the mail function has changed from version 4.0.6 to version 4.1.1 - only one sendmail parameter seems to be allowed and no spaces can follow the flag for the parameter. Below are some lines of code showing displaying the problem! in version 4.0.6 the following line worked: mail("andreia.mahler@ipayx.com", "test subject", "test body","Message-Id: test-header", "-N failure,success, delay -f receipts@ipayx.com"); in version 4.1.1 I could only get: mail("andreia.mahler@ipayx.com", "test subject", "test body","Message-Id: test-header", "-Nfailure,success, delay"); or mail("andreia.mahler@ipayx.com", "test subject", "test body","Message-Id: test-header", "-freceipts@ipayx.com"); Note that the spaces were not allowed after the flags (-N or -F) and only one argument alone worked. Is this is 4.1.1 bug or will we be restricted to only one flag in the fifth field as the online manual says? Thanks! Andreia ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15509&edit=1

« previous php.bugs (#9234) next »