Also, If you have an array of addresses, use the implode() function.
$sAddressList = implode(',', $aAddressArray);
and then use that with the Bcc: header in the mail function.
-Jason Garber
IonZoft.com
>Hi Henk,
>
>You don't need a special class, just use:
>
>$to = "[EMAIL PROTECTED]";
>$subject = "Your Subject";
>$messages = "some text you want to send...";
>$headers = "CC: firstname<[EMAIL PROTECTED]>, [EMAIL PROTECTED],";
>$headers .= "[EMAIL PROTECTED]\n";
>$headers .= "From: Your name<[EMAIL PROTECTED]>"\n";
>
>mail ($to, $subject, $message , $headers);
>
>Best,
>Sebastian
At 01:50 PM 11/22/2001 +0100, Sebastian Wenleder wrote:
>>Hello,
>>
>>I want to send an e-mail to one address(To) and many carbon copies to many
>>e-mailadresses(BCC).
>>
>>Is there a class to do this??
>>
>>Henk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]