protected function SmtpSend($header, $body) { if ($this->copyToFiles) { $this->copyMail($header, $body); } return parent::SmtpSend($header, $body); }