Hello,

On 08/28/2002 07:54 PM, Andy wrote:
> I do not agree. First off all (in my case) I do want to send personalized
> e-mails. And even if I cancel this wish.. how about adresses which fail? You
> will never ever find out how many adresses failed by putting them into the
> all in  bcc. And.. isn't there a restriction? What happens if you put 10000
> adresses into the header? I am pretty sure this will fail.
> 
> I guess the only really good solution is to let the MTA do the job for ya. I
> just do not know how, but I am positive that this is the best solution
> (since the MTA is made for such things while php is not)

This is not true. You need to stude your solutions better.

If you set the return-path address right, you will collect bouncing 
messages and can process them the way you think it is right. That is 
what mailing list managers do. Go and see any mailing list and notice 
that users do not get personalized messages. It is all automatic.

You do not need an existing mailing list manager to do that. I can 
provide you a real life testemony as developer of the PHP Classes site. 
Every day, the site sends out tens of thousands of messages in form of 
alerts and newsletters. None is personalized. It would hog the server if 
I used personalization. I put all recipients in Bcc.

I have my tricks though. For instance, I use qmail with VERP (Variable 
Envelop Return-Path) to improve accuracy in the detection of which 
addresses are bouncing.

Anyway, all is done via this simple class that is meant for composing 
and sendind MIME formatted messages and has a subclass to send via 
qmail-inject that injects a single message in the local queue to over 
50.000 recipients in less than 3 seconds.

http://www.phpclasses.org/mimemessage

Manuel Lemos


> "Justin French" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 
>>on 28/08/02 1:38 AM, Raphael Hamzagic ([EMAIL PROTECTED]) wrote:
>>
>>
>>>I'm with a little doubt about the best way to send a mail message to a
>>
> large
> 
>>>mailing list using PHP. I'm not interested  in existing mailing list
>>>managers, or source codes.
>>>I dont know if the best way to send emails is to use a repeat loop with
>>>mail() function, or use some other structure to send emails with
>>
> timeouts
> 
>>>intervals...
>>
>>yes, and yes, providing you want to send personalised emails, which costs
>>huge performance problems and a lkoad on the server... possibly leads to
>>timeouts of the script, timeouts of the browser, etc etc.  Not good!
>>
>>the real easy solution is to send ONE email with everyone in the Bcc
> 
> field.
> 
>>Quick and simple.  Won't piss off your host, won't load the server, etc.
>>
>>Justin
>>
>>
> 
> 
> 


-- 

Regards,
Manuel Lemos


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

Reply via email to