mail() header: Return-Path does not take affect...?
Posted: Fri Sep 15, 2006 5:53 am
Hi,
I have a mail header like this:
$header .= "Return-Path:andre@shukr.de<Andre> \n";
If I send this email to an unknown email address, the mail delivery error message doesn't arrive back to the Return-Path specified above, but it goes to info@shukr.de, my website's main email address.
I don't know if the following information from phpinfo() helps, but I copied it here anyway:
sendmail_from: root@localhost.com
sendmail_path: /usr/sbin/sendmail -t -i
SMTP: localhost
smtp_port: 25
I might have to change the setup in php.ini, but I don't have access to php.ini because my web server provider resides somewhere else, and for security and technical reasons they can not change the php.ini setup only for me.
How can I deal with it?
I have a mail header like this:
$header .= "Return-Path:andre@shukr.de<Andre> \n";
If I send this email to an unknown email address, the mail delivery error message doesn't arrive back to the Return-Path specified above, but it goes to info@shukr.de, my website's main email address.
I don't know if the following information from phpinfo() helps, but I copied it here anyway:
sendmail_from: root@localhost.com
sendmail_path: /usr/sbin/sendmail -t -i
SMTP: localhost
smtp_port: 25
I might have to change the setup in php.ini, but I don't have access to php.ini because my web server provider resides somewhere else, and for security and technical reasons they can not change the php.ini setup only for me.
How can I deal with it?