Esempio n. 1
0
 protected static function getDefaultView()
 {
     if (self::$_defaultView === null) {
         self::$_defaultView = new Zend_View();
         self::$_defaultView->setScriptPath(APPLICATION_PATH . '/views/scripts/mails');
     }
     return self::$_defaultView;
 }
Esempio n. 2
0
 public function indexAction()
 {
     $m = new ZC_HtmlMailer();
     $m->setSubject("Hello!")->addTo("*****@*****.**")->setViewParam('name', 'Jon Lebensold')->sendHtmlTemplate("hello.phtml");
 }