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

>Hi Henk,
>You don't need a special class, just use:
>$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);
At 01:50 PM 11/22/2001 +0100, Sebastian Wenleder wrote:
>>I want to send an e-mail to one address(To) and many carbon copies to many
>>Is there a class to do this??

PHP General Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to