Example #1
0
 /**
  * Send email to given address for unknown user in CMS.
  *
  * @param string $email Email address
  */
 protected function _send_unknown_user_reset_password_mail($email)
 {
     $this->load->library(array('email', 'app_email'));
     if (!empty($email)) {
         $data['email'] = $email;
         $data['site_name'] = app_settings_get('site_name');
         $this->app_email->to($email);
         $this->app_email->subject('Onbekende gebruiker voor TrafficTower CMS');
         $this->app_email->message($this->load->view('admin/login/mail/unknown_user_reset_password', $data, TRUE));
         $this->app_email->send();
         $this->app_email->clear();
     }
 }
Example #2
0
</title>
</head>
<body>

	<?php 
echo lang('email_template_dear');
?>
 <?php 
echo empty($to_name) ? lang('email_template_sir_madam') : $to_name;
?>
,
	<br />
	<?php 
echo string_empty($body_html);
?>
	<br />
	<?php 
echo lang('email_template_yours_sincerely');
?>
,<br />
	<br />
	<?php 
echo string_empty($from_name);
?>
<br />
	<?php 
echo app_settings_get('url');
?>

</body>
</html>