Posted by Adam R on 04/05/07 19:10
I want to use mail() function but I can't overwrite Retun-Path info. Most
mail servers overwrite the 'Return-path' header sent by the PHP mail()
function by a default email address (httpd@hostingcompany.com or
apache@domain.org).
I tried :
$headers = 'From: MyName<'.$from.'>\r\n';
$headers .= 'Return-Path: MyName<'.$from.'>\r\n';
even:
$headers,"-f".$from
can't help.
Any idea? Thanks.
--
--------------------------------------
Adam Raszkiewicz
Brothers-in-arts.com
--------------------------------------
[Back to original message]
|