hi all
i have a problem setting the envelope sender in 5.1.2 using exim as mta.
in the php.ini i have:
sendmail_path = /usr/local/exim/bin/exim -ti
in the script i have:
$headers = 'Return-Path: '.$email."\n"
.'From: '.$email."\n";
mail($to, $subject, $contents, $headers,'-f'.$email);
the above thing does set the from header correctly but not the envelope. Return-Path gets set to machine_name@host.stuff
no mather if i use "\r\n" or just "\n" for the header line breaks...
the exim version is 4.66....
any idea why can't i set the envlope with the -f ?
man exim says that's how you supposed to do it. and the php manual too...
thanks...