/** * * Get mail contents * * @access public * @return Content */ public function getContents() { $out = new StdClass(); $out->body = $this->view->fetch($this->getConfig('template')); $out->subject = $this->view->getCapture('subject'); $out->altbody = $this->view->getCapture('altbody'); return $out; }