Re: Sendmail "return-path" from my virtual webhost
| From: | Manuel Lemos | Date: | Tue, 30 Jul 2002 03:59:29 +0000 |
| Subject: | Re: Sendmail "return-path" from my virtual webhost | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-110282@lists.php.net to get a copy of this message | ||
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 -- Regards, Manuel Lemos