/**
  * Reset all EmailComponent internal variables to be able to send out a new email.
  *
  * @access public
  * @link http://book.cakephp.org/view/1285/Sending-Multiple-Emails-in-a-loop
  */
 public function reset()
 {
     $this->transport = null;
     $this->message = null;
     $this->mailer = null;
     return parent::reset();
 }
 /**
  * (non-PHPdoc)
  * @see cake/libs/controller/components/EmailComponent#reset()
  * @param $config
  * @return unknown_type
  */
 function reset($config = '')
 {
     parent::reset();
     if (empty($config)) {
         $config = $this->Controller->name;
     }
     $this->load($config);
 }
 /**
  * Reset all CronMailerComponent internal variables to be able to send out a new email.
  *
  * @access public
  */
 function reset()
 {
     $this->htmlContent = '';
     $this->textContent = '';
     parent::reset();
 }