Date: 06/15/02
- Next message: Chris Garaffa: "Re: [PHP] Apache/2.0.36 + Win98 + PHP4=Error(31)"
- Previous message: Prachait Saxena: "[PHP] Apache/2.0.36 + Win98 + PHP4=Error(31)"
- In reply to: Stuart Dallas: "Re: [PHP] 'CC' and 'BCC' in mail function"
- Next in thread: SenthilVelavan: "Re: [PHP] PHP Chat Program?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Stuart Dallas wrote:
> On Friday, June 14, 2002 at 10:01:24 PM, Sridhar Moparthy wrote:
>> Does any one know how to make mail() function to send mail to 'CC'
>> and 'BCC' address. I have tried to keep 'CC' and BCC' in header, but
>> it is not working. Mail function is sending the message to 'To'
>> address but not to 'CC' and 'BCC'. <snip
>> if (mail($to,$subject,$message,$header)) <snip>
>
> The mail function sends the message to the addresses in the first
> parameter, so you need to specify all the users you want the message
> to go to in $to.
>
> PS. I (and I'm sure there are others) would prefer it if you could
> create a new thread for a new topic. It makes things a lot easier to
> follow.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: Chris Garaffa: "Re: [PHP] Apache/2.0.36 + Win98 + PHP4=Error(31)"
- Previous message: Prachait Saxena: "[PHP] Apache/2.0.36 + Win98 + PHP4=Error(31)"
- In reply to: Stuart Dallas: "Re: [PHP] 'CC' and 'BCC' in mail function"
- Next in thread: SenthilVelavan: "Re: [PHP] PHP Chat Program?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

