Re: Send an e-mail witdh php
| From: | Jason G. | Date: | Thu, 22 Nov 2001 14:28:51 +0000 |
| Subject: | Re: Send an e-mail witdh php | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-75510@lists.php.net to get a copy of this message | ||
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 = "someone@domain.com"; $subject = "Your Subject"; $messages = "some text you want to send..."; $headers = "CC: firstname<first@recipient.com>, second@recipient.com,"; $headers .= "third@recipients.com\n"; $headers .= "From: Your name<You@host.com>"\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