mail() changes

php.internals

Stanislav Malyshev

23 years ago
I see that recently mail() function was changed so that sendmail_path parameter in php.ini does not allow to place parameters in the command anymore - which, at least for me, breaks sending mail from whole site. Is there any reason for such change?
-- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/ +972-3-6139665 ext.109

Derick Rethans

23 years ago
On Sun, 31 Aug 2003, Stanislav Malyshev wrote:
> I see that recently mail() function was changed so that sendmail_path > parameter in php.ini does not allow to place parameters in the command > anymore - which, at least for me, breaks sending mail from whole site. Is > there any reason for such change?
It's weird too, as the default is: sendmail -t -i ... Derick
-- "Interpreting what the GPL actually means is a job best left to those that read the future by examining animal entrails." ------------------------------------------------------------------------- Derick Rethans http://derickrethans.nl/ International PHP Magazine http://php-mag.net/ -------------------------------------------------------------------------

Stanislav Malyshev

23 years ago
DR>> > anymore - which, at least for me, breaks sending mail from whole DR>> site. Is > there any reason for such change? DR>> DR>> It's weird too, as the default is: DR>> sendmail -t -i ... Looks weird for mee too. Patch was by iliaa, with comment: Prevent abrupt script execution when sendmail_path contains invalid executable. Add more detail to the warnings regarding execution of sendmail binary. Ilia, could you please comment?
-- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/ +972-3-6139665 ext.109

Derick Rethans

23 years ago
On Mon, 1 Sep 2003, Stanislav Malyshev wrote:
> DR>> > anymore - which, at least for me, breaks sending mail from whole > DR>> site. Is > there any reason for such change? > DR>> > DR>> It's weird too, as the default is: > DR>> sendmail -t -i ... > > Looks weird for mee too. Patch was by iliaa, with comment: > > Prevent abrupt script execution when sendmail_path contains invalid > executable. Add more detail to the warnings regarding execution of > sendmail binary. > > Ilia, could you please comment?
He is just going on holiday today AFAIK... perhaps we should revert the commit for now? regards, Derick
-- "Interpreting what the GPL actually means is a job best left to those that read the future by examining animal entrails." ------------------------------------------------------------------------- Derick Rethans http://derickrethans.nl/ International PHP Magazine http://php-mag.net/ -------------------------------------------------------------------------

Stanislav Malyshev

23 years ago
DR>> He is just going on holiday today AFAIK... perhaps we should revert the DR>> commit for now? OK, then I'll comment that code out and wait for updates.
-- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/ +972-3-6139665 ext.109