I have some trouble while dealing with the mail in loop.
Actualy I made the page for send emailer.
where admin can send the email to all users or selected users.
Users are devided in variouse groups.
on submit of the form.
I got the comma seperated string of the emails of the seleted user.
then i split that string and send the email to that email.
Some time there is attachment with the mail.
Its working well when i selected up to 50 user at a time.
mails send and massage of succesfully send comes.
But i got the problem when admin send the mail to the 150-200 uses at time. page expires.
but mail sends.not to all uses but few of them
maens when it is in bulk and attachment is there then this problem comes.
if($action == "Send Email")
{
txtuser contain the string of the comma seprared email.
txtcount -is the no of the seleted users
$pieses1 = explode(",", $txtUser);
for($i=0; $i<=($txtCount-1); $i++)
{
here is my code for mail.
}
}
my code working well when I select 50-60 uses at a time.
page expires when it is in bulk.
if any body having some solution to increase time of expiration of the page then plz suggest.