Mailing List Programme

This is a discussion on Mailing List Programme within the PHP General forums, part of the PHP Programming Forums category; Hello: I have created an application to read email addresses from a list and to send emails. The problem now ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-11-2003
Sheni R. Meledath
 
Posts: n/a
Default Mailing List Programme

Hello:

I have created an application to read email addresses from a list and to
send emails. The problem now I am facing is, if the list is very long then
I am getting an error message in the browser "Server Timed Out". How can I
display a confirmation message and continue sending the emails from the
server? That is, trigger a separate script (not related to browser) on the
server which handles the emails and then return a success message. Can
anybody help me to find out a logic or script on this.


Sheni R Meledath
sheni@cyber-gear.com
Reply With Quote
  #2 (permalink)  
Old 09-11-2003
Marek Kilimajer
 
Posts: n/a
Default Re: [PHP] Mailing List Programme

You can send some output now and then to the browser (and flush()), or
you can send the emails in steps, send first 300 emails, output a form
with hidden fields (and text "sending emails") containing the offset and
use onload="window.document.forms[0].submit()" to send the form and so on.

Sheni R. Meledath wrote:

> Hello:
>
> I have created an application to read email addresses from a list and to
> send emails. The problem now I am facing is, if the list is very long
> then I am getting an error message in the browser "Server Timed Out".
> How can I display a confirmation message and continue sending the emails
> from the server? That is, trigger a separate script (not related to
> browser) on the server which handles the emails and then return a
> success message. Can anybody help me to find out a logic or script on this.
>
>
> Sheni R Meledath
> sheni@cyber-gear.com

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:06 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0