Exemplo n.º 1
0
 /**
  * Resets all PHPMailer attributes, including recipients and attachments.
  *
  * @param array $attributes An array of attributes to pass when resetting
  */
 public function reset(array $attributes = array())
 {
     parent::reset($attributes);
     $this->mailer->ClearAllRecipients();
     $this->mailer->ClearReplyTos();
     $this->mailer->ClearAttachments();
     $this->mailer->ClearCustomHeaders();
     $this->mailer->IsHTML(false);
 }