Adding mail() Parameter to Set Return Path

From: Date: Wed, 30 Oct 2002 21:16:15 +0000
Subject: Adding mail() Parameter to Set Return Path
Groups: php.dev 
Request: Send a blank email to php-dev+get-90342@lists.php.net to get a copy of this message
Several months ago the imap_sendmail.c routines were merged into the standard Win32 sendmail.c code. One of the results of this was that the TSendMail function gained a parameter to specifically set the mail header return path. The imap_mail() function can use this parameter, but the standard mail() function cannot (it is always set to NULL). Based on the number of comments on the mail() manual pages about issues that occur when the return path is always the sendmail_from ini value, it appears that it would be useful to add an additional optional parameter to mail() to set the return path. The only downside I see to this is that the value would only work for the internal Win32 sendmail code and not the standard Unix calls to sendmail. Any thoughts on this? Michael Sisolak msisolak@yahoo.com __________________________________________________ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/

« previous php.dev (#90342) next »