Hi Octavian Rasnita,

 Yes You can use mail() function for this purpose.

Just separate each reciepent address by a comma (,) .

$to="[EMAIL PROTECTED],[EMAIL PROTECTED]";
$header="from:Me <[EMAIL PROTECTED]> \r\n";
$subject="[EMAIL PROTECTED]";
$body="test";

mail($to, $subject, $body, $header);


Will do the needfull.


zareef ahmed



--- Octavian Rasnita <[EMAIL PROTECTED]> wrote:

> Hi all,
> 
> I want to send a test message with the following
> specifications:
> 
> 1. The message is sent by [EMAIL PROTECTED]
> 
> 2. The message is sent to the following recipients:
> [EMAIL PROTECTED],
> [EMAIL PROTECTED]
> 
> 3. The message has the subject: [EMAIL PROTECTED]
> 
> 4. The message has the following header:
> From: Me<[EMAIL PROTECTED]
> To: Multiple recipients<recipients.info>
> 
> 5. The body of the message is:
> 
> Test
> 
> Can I use mail() function for this?
> 
> Thank you.
> 
> Teddy
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 


=====
Zareef Ahmed :: A PHP Developer in Delhi(India).
Homepage :: http://www.zasaifi.com


                
_______________________________
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to