SwiftMailer Batch email times my Server out
I realise that batchEmail is no longer part of the new SwiftMailer. So I made this script: <? // // GC PRESS EMAILER v5 // ini_set('display_errors',1); error_reporting(E_ALL); require_once("config.php"); include_once("hawkmail/mail/lib/swift_required.php"); $c=mysql_connect($dbh,$dbu,$dbp); function SendEmail(){ // DB $s=mysql_query("SELECT * FROM `newgc`.`press_list`"); // Process Color Listing Loop while($r=mysql_fetch_array($s)){ // ########################### // START LOOP // ########################### $name=$r['name']; $email=$r['email']; $to=array(''.$email.''=>''.$name.''); include(