Mail() "problem"
| From: | Maikel Verheijen | Date: | Tue, 10 Jun 2003 15:14:36 +0000 |
| Subject: | Mail() "problem" | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-150921@lists.php.net to get a copy of this message | ||
Hi list,
Has anyone ever tried to use "REMOTE_ADDR" to be sent along with emails sent
from php-scripts that use the "mail()" function?
I have built a small auto-relaying sendmail (crudely based on mini-sendmail,
http://www.acme.com/software/mini_sendmail/)
that adds a "received" header
containing the poster's ip-address.
Unfortunately php does NOT pass on these environment variabeles to the
program that gets called as the mail-program (In my case my mini-sendmail).
This renders this little "spamfinder" trick unusable, which is too bad :(
If someone has a clue/trick for me on how to enable this, I would be really
gratefull!
Kind regards,
Maikel Verheijen.