Web Hosting Talk







View Full Version : php mail header issue


stephenn
11-25-2002, 12:09 PM
Hi,

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.

How could I avoid it?

thanks
stephen

MarkIL
11-25-2002, 02:23 PM
Which OS? Is it a dedicated server? Can you modify php.ini?

stephenn
11-25-2002, 02:24 PM
yes, lRedhat 7.3, yes I can modify php.ini. How could I do it?

thanks

stephenn
11-25-2002, 06:13 PM
Hi,

this is the code, but always Retunred overrided by servername.

$header .= "Return-Path:".$sendmail_from."\r\n";

Am I missing anything?

thanks