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