Re: [SMARTY-DEV] mail() function modification
| From: | Jimmy Harlindong | Date: | Fri, 23 May 2003 00:23:08 +0000 |
| Subject: | Re: [SMARTY-DEV] mail() function modification | ||
| References: | 1 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-1502@lists.php.net to get a copy of this message | ||
> But regardless, the original question is how to get access to the $_SERVER
> array in the mail.c. I don't think anyone was suggesting that these changes
> be committed back into the main PHP tree -- more for just a local
> customization. I personally would like to add in the originating
> $_SERVER['SERVER_NAME'] into the message headers (e.g.
> X-Originating-Website), but I'm unsure of how this is done.
Ahhh you are right, I was thinking the server IP hence why I suggested the scriptname !
with server_name we _can_ determine who's doing it :) and yes this will be very good indeed.
I will start looking into this as soon as I have spare time
Jim