Re: Win32/mail stuff

From: Date: Tue, 04 Jun 2002 22:01:56 +0000
Subject: Re: Win32/mail stuff
References: 1  Groups: php.qa 
Request: Send a blank email to php-qa+get-5492@lists.php.net to get a copy of this message
At 21:32 4-6-2002, Markus Fischer shared with all of us:
First off, nice then finally there's some feedback on this
    list, I and others really appriciate this.
Well - nagged about it on php-dev, so I couldn't keep quiet now could I :-) Just a small note: Sometimes I see RE: [php-cvs] mail come by, with a quoted patch. Now - if I could really code C and understand php API, I could probably figure out, what changed. But it would be better if those mails are accompinied by something along the lines of: please test xxx feature of function xxx, focusing on xxx.
Second: though one of my last mail sounded maybe a bit harsh
    and arrogant ("again, I do not plan to revert.."), I'm
    definitely not on the track "let's get it incompatible by all
    mean". Sascha has a vaild point. Luckily we have still quite
    some time until 4.3 is released so I'm sure we can sort
    things out properly.
On the train I thought about this - so here's a proposition: What if we make mail() use /usr/sbin/sendmail -bs on *nix? Hold on - here's the plan: 1) add ini_entry: use_sendmail_socket boolean, default on nix: Off, default on win32: On 2) guarantee compatibility between unix and win32 when use_sendmail_socket = On 3) work on a solid (E)SMTP implementation. 4) deprecate old style sendmail delivery 5) add capability for win32 to use win32 sendmail.exe (not sure that's possible now). This would have the following advantage: 1) php packages would only need 1 line of code, to make sure all mail is the same. 2) allows implementation of E stmp features, via: X-PHP-Auth-User: $username\r\n X-PHP-Auth-Password: $password\r\n Resulting in: Stripping of X-PHP* headers from the mail Auth/Auth password command on the smtp socket Add header X-Authenticated-User <$username> 3) defeat any incompatibilities with sendmail versions/sendmail drop-ins and -flags. If speed is the issue, one can always use the old sendmail style and this would put the pressure of compatibility on the binary who's sending - since there is an alternative to be cross-platform, this would be acceptable. Met vriendelijke groeten / With kind regards, IDG.nl Melvyn Sopacua Webmaster

« previous php.qa (#5492) next »