TalkPHP

TalkPHP (http://www.talkphp.com/forums.php)
-   Absolute Beginners (http://www.talkphp.com/absolute-beginners/)
-   -   editing headers sent with mail function (http://www.talkphp.com/absolute-beginners/3185-editing-headers-sent-mail-function.html)

sarmenhb 07-27-2008 05:57 PM

editing headers sent with mail function
 
hi,

when i use the mail function there are a few headers that are sent along with the email. how can i edit what it shows? for example

when i sent an email to myself i saw this in the email headers

X-PHP-Script: location of php file.

and how can i modify the other header information
thanks

Ross 07-28-2008 11:18 AM

Have a look at the manual page for mail. The additional_headers parameter is what you're looking for - I also recommend reading the notes for that page as well as there are a lot of useful comments regarding the headers.


All times are GMT. The time now is 07:15 AM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0