tr=new Zend_Mail_Transport_Smtp($smtp->host, array('ssl' => $smtp->ssl, 'auth'=>$smtp->auth, 'username'=>$smtp->username, 'password'=>$smtp->password)); parent::__construct('utf-8'); } function send() { parent::send($this->tr); } }