>What is best:
>1) calling n-times the function mail() [with n = numer of emails] or
>2) calling 1 time mail() and use CC
>Or it it is the same thing?

2) is INFINITELY superior.

Every call to mail() fires up a very large program.

You do *NOT* want to do that more than a few times in one script.

Your server also may limit the number of Cc: (or Bcc:) addresses you can

You may also want to consider talking directly to your SMTP server instead.

There are some excellent mail scripts/classes that take care of all this for
you, if installed properly.

See http://upperdesign.com for one example

Like Music?  http://l-i-e.com/artists.htm

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

Reply via email to