Quoting Barry <barry@xxxxxxxxxxxxxx>: > Søren Schimkat wrote: > > Hi Guys > > > > I'm using the mail function for sending mail, and I would like to specify > the > > Return-Path header, but it would seem that PHP or Apache is modyfying the > > header. > > > > This is the simple code: > > > > mail('to@xxxxxxxxxxxxx', 'Subject', 'Message', "From: > > from@xxxxxxxxxxxxx\nReturn-Path: bounce@xxxxxxxxxxxxx\n"); > > > > .. but when the message bounces - it bounces to apache@xxxxxxxxxx instead > of > > the bounce adress? > > > > Any hints on how to solve this problem? > > > > > Return Path? isn't it Reply-To? > Nope. The Reply-To header is for reply's. Bouncing of mail due to errors is sendt to the adress set by the Return-Path header. > -- > Smileys rule (cX.x)C --o(^_^o) > Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o) > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- mvh Søren Schimkat www.schimkat.dk --------------------------------------- www.dyrenes-venner.dk/densorteliste.asp -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php