Posted by Steve on 04/06/07 03:45
"Manuel Lemos" <mlemos@acm.org> wrote in message
news:461597D5.2000308@acm.org...
| Hello,
|
| n 04/05/2007 04:10 PM Adam R said the following:
| > I want to use mail() function but I can't overwrite Retun-Path info.
Most
| > mail servers overwrite the 'Return-path' header sent by the PHP mail()
| > function by a default email address (httpd@hostingcompany.com or
| > apache@domain.org).
| >
| > I tried :
| >
| > $headers = 'From: MyName<'.$from.'>\r\n';
| > $headers .= 'Return-Path: MyName<'.$from.'>\r\n';
| >
| > even:
| >
| > $headers,"-f".$from
| >
| > can't help.
| >
| > Any idea? Thanks.
|
| This depends on the platform or the delivery method. Take a look at this
| message composing and sending e-mail messages. It supports the
| Return-Path header and makes sure it works with different platforms and
| deleivery methods:
|
| http://www.phpclasses.org/mimemessage
bears fed.
[Back to original message]
|