Re: Bug #9859 Updated: mail() doesn't send cc or bcc as in the manual instructions

From: Date: Thu, 24 May 2001 00:57:03 +0000
Subject: Re: Bug #9859 Updated: mail() doesn't send cc or bcc as in the manual instructions
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-56568@lists.php.net to get a copy of this message
> > then maybe close the related bug 10136... or better reopen both, since this is a problem. > > > > although it would be better if win32 smtp code is made more consistent and > > compatible with the unix sendmail one > > Making Cc and cc both work is a one-line fix. (Patch attached, but as I > can not test this, I didn't commit). But while looking at the > code, I see nothing about Bcc. Strange, or I'm i missing something? sure but not. you do not check for cC and CC :) the best way is to use case insesitive strstr (this shall not be so hard to code) there is one more prob - looking for \r\n exact match. in case of \n terminated input, this call returns NULL and logic goes to alloc deadly too much ram. about bcc - yes it is missing, but as far as i remember i have seen it eighter in an older version of this code, or in another related code. it must be processed exactly like cc. b.

« previous php.dev (#56568) next »