public function setTextFromFile($filePath) { try { $file = new File($filePath, FALSE); } catch (IllegalArgumentException $e) { throw new MailException($e->getMessage()); } $this->text = $this->mimeHeaderEncode($file->getContent()); }
public function __destruct() { parent::__destruct(); }