Re: [PHP] mail() source code
Anthony Rodriguez <[EMAIL PROTECTED]> wrote: > I'm planning to write a "modified" mail() to include the "true" > return-path. In order to do so, I need to communicate directly with > sendmail and, in my newbie's opinion, a good start would be to > review the source code of the mail(). Before you do that you might want to look at what is already available. Have a Google or at least look at the following resources... http://www.zend.com/codex.php?CID=11 http://www.phpclasses.org/ In other words, this particular wheel already exists! -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] mail() source code
When mail() sends, via sendmail, an e-mail to an invalid address, it's returned to the "envelope-sender" (e.g.: the ISP), NOT returned to the "from" address, or the "return-path" address, etc. that are included with mail()'s 4th parameter. I'm planning to write a "modified" mail() to include the "true" return-path. In order to do so, I need to communicate directly with sendmail and, in my newbie's opinion, a good start would be to review the source code of the mail(). Where can I find it? Thank you! Anthony F. Rodriguez ([EMAIL PROTECTED]) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php