Shakeynath Posted July 21, 2010 Share Posted July 21, 2010 Not sure if this post is meant too be here or not, I apologise if its not :) Im just wondering if there is any way of sending out a email too all of your users ? Quote Link to comment Share on other sites More sharing options...
Dominion Posted July 21, 2010 Share Posted July 21, 2010 you mean this - [mccode v2.x] Mass emailer there are more use the search bar Quote Link to comment Share on other sites More sharing options...
Djkanna Posted July 21, 2010 Share Posted July 21, 2010 <?php //define stuff here $subject = ''; $message =''; $getEmails = $db->query("SELECT `email` FROM `users`"); while($e = $db->fetch_row($getEmails)) { if(mail($e['email'], $subject, $messages)) { echo 'Mass Email sent'; } else { echo 'Mass Email failed'; } } Should give you an idea, just something I wrote in the textbox please forgive any errors. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.