Re: [PHP] [mail] quetion

2002-06-28 Thread Jason Wong

On Friday 28 June 2002 21:40, Jason Wong wrote:
> On Friday 28 June 2002 18:59, Evan wrote:
> > 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?
>
> 1) will send mail out n times
> 2) will send mail out once, but everyone gets to see who the other
> recipients are. You may want to consider using Bcc. However your MTA may
> impose a limit on the number of recipients that can in placed in Cc/Bcc.

Just to clarify (2), 'will send out mail once', meaning PHP will have a single 
transaction with your mail sending mechanism (be it sendmail or smtp). The 
actual MTA will of course send out as many mails as there are recipients.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *

/*
operation failed because: there is no message for this error (#1014)
*/


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




Re: [PHP] [mail] quetion

2002-06-28 Thread Jason Wong

On Friday 28 June 2002 18:59, Evan wrote:
> 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?

1) will send mail out n times
2) will send mail out once, but everyone gets to see who the other recipients 
are. You may want to consider using Bcc. However your MTA may impose a limit 
on the number of recipients that can in placed in Cc/Bcc.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *

/*
Blinding speed can compensate for a lot of deficiencies.
-- David Nichols
*/


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