Templated and validated input fields

HTML

<script src="https://github.com/jzaefferer/jquery-validation/raw/master/jquery.validate.js"></script>
<script src="http://cloud.github.com/downloads/digitalBush/jquery.maskedinput/jquery.maskedinput-1.3.js"></script>
Not sure how to implement AntiFloop Plugin  or Throttler plugin
This is my code for the Throttler plugin.

Without the send message, my program completed in 11 sec.
With sending email it ran 60sec and crash... sending 50 email...




require_once ('../swift/lib/swift_required.php');
//---------------
// Setup email configs
$failedRecipients = array();
$numSent = 0;

// Create the Mailer using any Transport
$mailer = Swift_Mailer::newInstance(Swift_SmtpTransport::newInstance('mail.....', 25)
->setUsername('.....')
->setPassword('......')
);


 // Rate limit to 100 emails per-minute
$mailer->registerPlugin(new Swift_Plugins_ThrottlerPlugin(
  50, Swift_Plugins_ThrottlerPlugin::MESSAGES_PER_MINUTE
));

// Rate limit to 10MB per-minute
$mailer->registerPlugin(new Swift_Plugins_ThrottlerPlugin(
  1024 * 1024 * 10, Swift_Plugins_ThrottlerPlugin::BYTES_PER_MINUTE
));
 
// Embed images
$cid1 = $message ->embed(Swift_Image::fromPath('../swift/_banner.gif'));
$imgbanner = '<img src="' . $cid1 . '" alt="Get noticed  />';

$cid2 = $message ->embed(Swift_Image::fromPath('../swift/calendar.gif'));
$imgcalendar = '<img src="' . $cid2 . '" alt="" />';




// while loop from members table
while($rowmem = $memquery->fetch())
{

         $message->setBody($Mesfull ,'text/html');
           $message->setSubject($subj);
          //$to = array($rec_Email);
            
			$message->setTo(explode(', ', $rec_Email));
	
            $numSent += $mailer->send($message, $failedRecipients);

}