* Thus wrote Enda Nagle - Lists: > Hi Guys, > > Iım using PHPıs mail() function on several sites, but have difficulty > sometimes with the mails being tagged as SPAM. > > I want to have the Return-Path set to the site admin, but canıt see where to > do this. > > I know that it can be done at server root level but I canıt really do that > as its a shared server. > > ... > > Iım working off a Linux box, so presumably I canıt use the sendmail_from > variable? > > I also tried to set the following variable in the headers for the mail: > > $headers .= "X-Return-path: ME <[EMAIL PROTECTED]>\r\n";
use the 5th parameter to mail(); mail(..., '-f "ME <[EMAIL PROTECTED]>"'); Curt -- First, let me assure you that this is not one of those shady pyramid schemes you've been hearing about. No, sir. Our model is the trapezoid! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php