|
Posted by -Nacho- on 07/29/06 08:35
I've been able to see that the problem is not due to time, but to the
object mail I use.
I use an object "mail" and I don't know how to kill it or to
deinstantiate it after the first mail sending, to be able to
instantiate it again for the next mails. This was hidden by the
requires so it was not returning any error msg, but I've created a
whole code embedding the code of the required files and now I get:
Cannot redeclare class mime_mail in
/home/transper/public_html/msend.php on line 52
Thanks
Jerry Stuckle ha escrito:
> -Nacho- wrote:
> > Thanks, Noodle, but I've just tried out the solution with a sleep of 5
> > minutes and the problem persists. Only the first mail of the list is
> > sent. :(
> >
> > -
> > Nacho
> >
> >
> >
> > Noodle ha escrito:
> >
> >
> >>Try experimenting with:
> >>
> >>sleep()
> >>http://www.php.net/manual/en/function.sleep.php
> >>
> >>usleep()
> >>http://www.php.net/manual/en/function.usleep.php
> >>
> >>or
> >>
> >>time_nanosleep()
> >>http://www.php.net/manual/en/function.time-nanosleep.php
> >
> >
>
> 5 minutes is way too long. Most servers are set up to time out scripts
> at 30 seconds or so.
>
> Try 2-3 seconds and see if more go out. Or, if you have a lot, try one
> of the mailing list programs freely available.
>
> --
> ==================
> Remove the "x" from my email address
> Jerry Stuckle
> JDS Computer Training Corp.
> jstucklex@attglobal.net
> ==================
Navigation:
[Reply to this message]
|