How to change Return-path and sender address

From: Date: Thu, 06 Dec 2001 10:28:31 +0000
Subject: How to change Return-path and sender address
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-76848@lists.php.net to get a copy of this message
Hi I have a script which sends email from the web. The problem is the header of the message contains "Return-path" and "Sender" email address as the browserusername@domainname.com So, can some one help how can I set Return-path and Sender address as From Address? Regards Sanjay Return-path: <webmaster@linuxserver.com> Envelope-to: sanjays@softhome.net Delivery-date: Thu, 06 Dec 2001 11:14:05 +0000 Received: from [192.168.0.2] (helo=mail.linuxserver.com) by mail.softhome.net with esmtp (Exim 3.22 #2) id 16BwTd-0007yH-00 for sanjays@softhome.net; Thu, 06 Dec 2001 11:14:05 +0000 Received: from webmaster by mail.linuxserver.com with local (Exim 3.16 #1) id 16BvPB-0003HI-00 for sanjays@softhome.net; Thu, 06 Dec 2001 10:05:25 +0000 To: sanjays@softhome.net Subject: Re: Your Application From: support@linuxserver.com Message-Id: <E16BvPB-0003HI-00@mail.linuxserver.com> Sender: <webmaster@linuxserver.com> Date: Thu, 06 Dec 2001 10:05:25 +0000

« previous php.general (#76848) next »