Re: [mail] quetion

From: Date: Sun, 30 Jun 2002 22:29:15 +0000
Subject: Re: [mail] quetion
Groups: php.general 
Request: Send a blank email to php-general+get-104778@lists.php.net to get a copy of this message
>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 use. 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

« previous php.general (#104778) next »