mail and from line overriding

From: Date: Fri, 15 Nov 2002 15:14:36 +0000
Subject: mail and from line overriding
Groups: php.general 
Request: Send a blank email to php-general+get-124674@lists.php.net to get a copy of this message
Hi, I have something like following: $from = "w@abc.com"; $email = "w@xyz.com"; $msg = "abcde"; mail($email, $subj, $msg, $from); the message sent always has the 'from' line taken from php.ini, not $from, is there a way to override this ? Thanks. Frank

« previous php.general (#124674) next »