Re: Sendmail "return-path" from my virtual webhost
| From: | Manuel Lemos | Date: | Tue, 30 Jul 2002 16:39:05 +0000 |
| Subject: | Re: Sendmail "return-path" from my virtual webhost | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-110370@lists.php.net to get a copy of this message | ||
Hello,
On 07/30/2002 01:30 PM, Al wrote:
I was hoping there was a way to fix it without having to modify my php scripts [e.g., phpBB2, postlister, etc.]There is an explicit php.ini option for that but it only works under Windows. On Unix, you may also try defining the sendmail path added -freturn-path@myaddress.com . Regards, Manuel Lemos
Manuel Lemos wrote:-- Regards, Manuel LemosHello, 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