Using mail()

From: Date: Mon, 23 Oct 2000 08:27:57 +0000
Subject: Using mail()
Groups: php.general 
Request: Send a blank email to php-general+get-21741@lists.php.net to get a copy of this message
Hi, I have several users which are going to use some kind of web interface to send there mails. I tried to use the mail() method, but everytime the sender (from-part) is determined as "<user>@localhost" where <user> is the user under which the apache web server runs. But the sender should be determined as "<user>@my.site", shouldn't it? I tried to use additional headers like "From: <user>@my.site", but I can't get it running. Any hints? Thanks, Tobias.

« previous php.general (#21741) next »