It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming PHP and MySQL Forum

php send mail problem

Moderator: Malcolm

php send mail problem

Postby john_zakaria on Tue Jul 21, 2009 10:36 am

hi everyone
i have a form and when i press submit , i want to send mail to 2000 user at the same time .. the problem is that the server does not send over 200 mail at the same time..
so the rest (1800 ) could not be sent

i want to send the 2000 mail and to be sure that it is sent correctly.
does anyone have an idea to solve this problem???
john_zakaria
50+ Club
 
Posts: 59
Joined: Sun Feb 08, 2009 7:29 am

Re: php send mail problem

Postby rse on Tue Aug 11, 2009 6:46 am

Hi John,

I would try looping through your contact list, maybe pulling 100 users at a time, then using the mail function, then looping through and calling the mail function again.

This way it should see multiple low recipient emails rather than one big one.

I have used this on a few sites and it seems to work just fine.

I hope this helps.

Ads
Adam Williams
PHP Web Developer

Personal: http://30things.net
Blog: http://www.root-servers.co.uk
User avatar
rse
100+ Club
 
Posts: 141
Joined: Sun Oct 10, 2004 8:15 pm
Location: Leeds, UK


Who is online

Users browsing this forum: No registered users and 2 guests