Web Hosting Talk







View Full Version : php mail header


stephenn
11-25-2002, 08:52 PM
I am doing php to send mail, when I try to put header for returned path to account@mydomain.com. but it shows
nobody@myservername.com.

$header .= "Return-Path:"info@mydomain.com"\r\n";

It always shwo the server name.


How could I avoid it?

thanks
stephen

Marty
11-25-2002, 09:57 PM
If it is a cpanel server, this is an exim thing and there is not much you can do about it. You can go to http://forums.cpanel.net and search for exim return_path and get more info on this. If it is not a cpanel server, then I am not sure why your header is not working.