Re: Sendmail "return-path" from my virtual webhost

From: Date: Tue, 30 Jul 2002 16:30:51 +0000
Subject: Re: Sendmail "return-path" from my virtual webhost
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-110367@lists.php.net to get a copy of this message
I was hoping there was a way to fix it without having to modify my php scripts [e.g., phpBB2, postlister, etc.] Manuel Lemos wrote:
Hello, On 07/29/2002 01:54 PM, Al wrote:
Emails sent from my php scripts, using sendmail, all have a goofy "return-path" variable in the header. Is there a way I can correct this, or does it require a change to the sendmail config file that I can't get to?
Yes, you can use mail() 5th argument or call sendmail directly with the popen using -f switch. Take a look at these classes to learn how to do it in case you have doubts: http://www.phpclasses.org/mimemessage


« previous php.general (#110367) next »