var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
mail function take very long time
i have a php script (newsletter) and it is in the nuke web system,
i have about 1000 member or mails.
when i send to the news letter members , the page takes a lot of time to load , and after 2 minutes nearly it stops , and the browser gives page unavailable.
i found that nearly 200 mails have been actually sent , but the rest was not fast enought to be sent before the termination of that action file ( may be the maximum execution time has reached).
After doing some inverstigation in the php code , i found that the whole time is spent in the line
mail("$sendto","newsletter",....) i mean the mail function... and this line is in a loop .
what possibly could let the mail function take this long time , i ll appreciate any answer from anybody who runned similar problem.
Sounds like the server doesn't like you emailing that many people in such a short space of time. Probably something to do with spamming...
You could try to send the emails in batchs of, say 150?