/** * Sendet das geschriebene Mail, welches in der Datenbank gespeichert war. * * @param string $hash Hash vom Link */ private function _truemail_send($mail_hash) { $mail_textes = $this->_config_textes['Mail']; if (!key_exists('hash', $this->_gpc['GET'])) { throw new CMSException(array('mail' => 'no_hash'), EXCEPTION_MODULE_CODE, array('mail' => 'param_missing')); } $mail_send = new Mailsend(); $controll = $mail_send->mail_send_hash($this->_mysql, $mail_hash); if ($controll == true) { $this->_send_feedback($mail_textes['saved_title'], $mail_textes['saved_content'], "", $mail_textes['send_link']); } else { $this->_send_feedback($mail_textes['failer_send_title'], $mail_textes['failer_send_content'], "", $mail_textes['send_link']); } }
/** * Sendet das geschriebene Mail, welches in der Datenbank gespeichert war. * * @param string $hash Hash vom Link */ private function _truemail_send($hash) { $mail_vars = $this->_configvars['Mail']; $mail_hash = $hash; $mail_send = new Mailsend(); $controll = $mail_send->mail_send_hash($this->_mysql, $mail_hash); if ($controll == true) { $this->_send_feedback($mail_vars['$mail_send_title'], $mail_vars['$mail_send_content'], "", $mail_vars['send_link']); } else { $this->_send_feedback($mail_vars['failer_send_title'], $mail_vars['failer_send_content'], "", $mail_vars['send_link']); } }