[nycphp-talk] php for mailing list app?
Donald J Organ IV
dorgan at optonline.net
Mon Jun 26 13:22:31 EDT 2006
Well create a cron job that runs every x amount of minutes that looks
for messages that have say the Send field set to 1 in the database.
robyn overstreet wrote:
> On 6/26/06, Donald J Organ IV <dorgan at optonline.net> wrote:
>
>> I believe that if you run the script that sends the emails from the
>> command line using say cron that the PHP has no max execution time.
>> This may help.
>>
>
> Thank you. That's helpful. It makes sense that if I run the script
> behind the scenes, not only will it not time out, but the user won't
> be affected by the 'long' time it takes to send mail. Since I'm
> writing a web application, though, I don't think cron will help -- I
> need to run the script (not in the browser) when the user hits "send
> to subscribers". Any suggestions on how to do this?
>
> Thanks
> Robyn
>
>
>
>> robyn overstreet wrote:
>>
>>> Hi all-
>>> I'm working on a mailing list (announcement only) for a client and I'm
>>> trying to decide if using PHP is the way to go. I'm more comfortable
>>> with PHP than with Perl, but it seems that Perl has better email
>>> handling modules available.
>>>
>>> When I've worked with PHP mail() before, my experience was that even a
>>> relatively small list of about 50 addresses took a while to loop
>>> through and send. I'm concerned that the server will time out for a
>>> larger list. I'm wondering if I need to make a socket connection.
>>>
>>> Can anyone point me in a good direction to research?
>>>
>>> Thanks in advance-
>>> Robyn
>>> _______________________________________________
>>> New York PHP Community Talk Mailing List
>>> http://lists.nyphp.org/mailman/listinfo/talk
>>> New York PHP Conference and Expo 2006
>>> http://www.nyphpcon.com
>>> Show Your Participation in New York PHP
>>> http://www.nyphp.org/show_participation.php
>>>
>>>
>>>
>>>
>> _______________________________________________
>> New York PHP Community Talk Mailing List
>> http://lists.nyphp.org/mailman/listinfo/talk
>> New York PHP Conference and Expo 2006
>> http://www.nyphpcon.com
>> Show Your Participation in New York PHP
>> http://www.nyphp.org/show_participation.php
>>
>>
> _______________________________________________
> New York PHP Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
> New York PHP Conference and Expo 2006
> http://www.nyphpcon.com
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
>
>
>
More information about the talk
mailing list