PHP mail extension.

From: Date: Mon, 19 Nov 2001 15:51:27 +0000
Subject: PHP mail extension.
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-7447@lists.php.net to get a copy of this message
Hello webmaster, please forward this email to developer team. Thanks. Hello developer team, I use this way, because I notify about nice extension to PHP function mail(...),, not about bug. It would be nice in PHP function mail(...), if it exists optional 5 arguments, which is directly transfer to Unix command sendmail and can tune behaviour sendmail by "Transfer error condition" 4 example sending to incorrect address. If this optional argument is 4 example "-f error_appointment@host.domain", then by "Transfer error condition" is error notification from sendmail send back to "error_appointment@host.domain" and not to "uid_login@localhost", where uid_login is login corresponding to uid under which running http daemon and mod_php. This feature helps human operator track to "Automatic email notification lists/ databases", where email address is entered from outside www interface and can be mistyped. Because current version is php-4.0.6 and I code this feature in distribution php-4.0.4pl1 in attachments is not a diff files but full files. Files with extensions ".orig" are from original distribution. All files are in tar.gz archive format. In tar archive is distributed sh script Test.sh for testing new feature in PHP function mail(...) by command line interpreter php. This script is self explanatory, please substitute my email address your. NOTICE: Disable header X-auth Warning in sendmail message is done adding 'uid' under which http daemon running (nobody, apache, httpd) in trusted user file (/etc/mail/trusted-users) or sendmail configuration file (/etc/mail/sendmail.cf). Best regards. -- Milos Koprla tel: +421-2-60291 522 fax: +421-2-65429 400 Milos.Koprla@elf.stuba.sk PGP Public Key: pgpk -a hkp://www.elf.stuba.sk/Milos.Koprla@elf.stuba.sk pgpk -a finger://www.elf.stuba.sk/koprla pgpk -a http://www.elf.stuba.sk/~koprla/PGPPublicKey.key

Attachment: [application/x-gzip] mail.tar.gz mail.tar.gz
« previous php.mirrors (#7447) next »