$headers = "From: \"Thomas Le\" <tvle83@xxxxxxxxx>\nMailed-by: whatever\n"; mail('tvle83@xxxxxxxxx', 'test', 'test', $headers); NOTE: The RFC says use \r\n between headers. gmail is broken and will puke if you do. Complaint to gmail, please. On Sat, December 22, 2007 10:27 pm, Thomas Le wrote: > How do I structure the $additionalHeaders string so that it is useful? > Is > there a specific order the headers have to be in? How do I delimit > multiple > headers? I want the from and mailed-by fields to be modified by this > variable when mailed from the PHP script. I am getting the server name > of my > host instead of the domain name of my site. Minor thing because most > people > probably dont look at headers, but I want it to be professional > looking in > case someone does. > > Thank you, > > Thomas Le > "Choose a job you love, and you'll never have to work a day in your > life." - > Confucius > -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/from/lynch Yeah, I get a buck. So? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php