Re: mail() problem help.....
| From: | Manuel Lemos | Date: | Sat, 24 May 2003 18:58:08 +0000 |
| Subject: | Re: mail() problem help..... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-148868@lists.php.net to get a copy of this message | ||
Hello,
On 05/24/2003 10:53 PM, Fongming wrote:
I develop my own webmail on my website . A few days ago, I join this php mailling list. After that, I found I could not send any mail to this mailling list. I guess.... Because I sent mail with PHP's mail() function, It seems like every mail's header shows "nobody " on the first line of Return-path : ------------------------------------------------------------------ Return-Path: <nobody@fonn.fongming.idv.tw>Return-Path: is a virtual header. It does not mean anything to MTAs. Some MTAs: add it to the messages but it is ignored by any receiving server. To set the return address, you may want to try this class that looks at the Return-Path: header that you specify in the messages and passes it to the MTA in a way that it is not ignored. http://www.phpclasses.org/mimemessage -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/^^^^^^^^^^and... Received: (from nobody@localhost)^^^^^^^^^^^^^^------------------------------------------------------------------ I guess this is the reason why my mail was always rejected by php mailling list. How Can I replace the "nobody " to a normal user name ?