Exemplo n.º 1
0
 public function getMailContent($message)
 {
     require_once $_SERVER['DOCUMENT_ROOT'] . "/classes/template.php";
     $path = $_SERVER['DOCUMENT_ROOT'] . '/templates/mail/mailer.tpl.php';
     $utm = smtp::_addUtmUrlParams('email', '', 'unsubscribe_news', '&');
     return Template::render($path, array('message' => $message, 'utm' => $utm));
 }