bulk email sender
the code is read the emailids from the db and shoot a mail
while(dr.read())
{
stremail-dr.getvalue(0).tostring();
msg.to=stremail;
}
this works fine if i send to 1000 max
if i want to send to 5000 at a time
the page shoots sends emails but after some time the page loads back stating page not found.

