Need a pHP script to mass mail 130k email ids with cron job of sending 10 emails per minute email ids are in testfile line by line emails can be sent via my webserver or smpt server of google gmail. Can anyone help.
I guess you can find some free scripts if you search the web, but if you want it done properly I recommend hiring a good freelancer to get the job done. What is your budget to get this done? BTW: do you realise that sending 130K emails at a rate of 10 per minute takes more than 9 days to send them all ?
can you suggest me some scripts (links) i can modify them in my way. i dont want to make my emails look spam so i will let them have an opt out method
Check phpmailer (http://sourceforge.net/projects/phpmailer) for great mailing functions. Put your 130k emails in a mysqltable with an id and an extra field 'sent'. Create a script that gets 10 emails from db: $query = "select * from table where sent=0 limit 10"; $res = mysql_query($query); while($row = mysql_fetch_array($res) { ... use mailer function to send mails mysql_query("update table set sent=1 where id=$row[id]"); } PHP: easy as that
or, $file = file('filenamehere'); while($line = $file) { ... use mailer function to send mails, $line is the $TO variable } but i dont think that would handle the 130K, so you might wana split that..