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

From: Date: Mon, 10 Jun 2002 14:30:35 +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-10020@lists.php.net to get a copy of this message
ID: 15509 Updated by: andreia.mahler@ipayx.com Reported By: andreia.mahler@ipayx.com Status: Feedback Bug Type: Mail related Operating System: Linux RedHat 7.1 PHP Version: 4.1.1 New Comment: I don't have safe-mode enabled - in php.ini ; ; Safe Mode ; safe_mode = Off Thanks! Andreia Previous Comments: ------------------------------------------------------------------------ [2002-06-02 18:26:17] mfischer@php.net Do you have safe_mode enabled? ------------------------------------------------------------------------ [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 (#10020) next »