Okay i found a bug report on this http://bugs.php.net/bug.php?id=15509
Apparently it was changed to only allow one parameter for security reasons. Paul Roberts http://www.paul-roberts.com [EMAIL PROTECTED] ++++++++++++++++++++++++ ----- Original Message ----- From: "Manuel Lemos" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, August 17, 2002 1:37 PM Subject: Re: [PHP] Re: Bulk Email [solution found!] > Hello, > > On 08/17/2002 03:52 AM, Paul Roberts wrote: > > i tried it using the 5th parameter with -odd and the mail got qued but i also need >to set [EMAIL PROTECTED] (so i get those bounces) but i got <[EMAIL PROTECTED] -odd> for >the return path in the email. > > > > i then tried it with the -odd first and it qued the mail but didn't set the return >path, i also want to set it so it only returns the headers using -Rhdrs so need to >set 3 options when sendmail is called. > > > > can you set multiple options with the 5th parameter? i would have thought it would >append the stuff in the 5th to the sendmail path set in php.ini but it doesn't seem >to work that way. > > > > i can do this fine by using popen() and adding the parameters to the path so i >can't see why it doesn't play with the mail function. > > That is because PHP encloses what you pass between quotes, so that is > take as just a single argument, so it can't be used to pass more than > one argument. > > -- > > Regards, > Manuel Lemos > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php