View Single Post
Old 04-04-2010, 07:46 PM  
goodsites
Confirmed User
 
Industry Role:
Join Date: Jan 2010
Location: Over the rainbows
Posts: 538
thats for reading from your mysql databse which you will have to know your username and email stuff and fixup the query.

If you want to just read in a line by line text file

remove the db stuff and do like

$emails = file('./emails.txt');

foreach ($emails as $email) {

..insert just the mailing code above here...

}
goodsites is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote