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@hostingc ompany.com or
apache@domain.o rg).
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
--------------------------------------
mail servers overwrite the 'Return-path' header sent by the PHP mail()
function by a default email address (httpd@hostingc ompany.com or
apache@domain.o rg).
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
--------------------------------------
Comment