diff --git a/src/lib/sendmail.php b/src/lib/sendmail.php index fd36a08..1a54ded 100644 --- a/src/lib/sendmail.php +++ b/src/lib/sendmail.php @@ -305,7 +305,8 @@ namespace $view->start(); $view->render( 'sendmail', 'abandoned_basket.php' ); $view->finish(); - $body = file_get_contents(ROOT_PATH.config::get( 'dirs/viewsDir' ).'abandoned_basket.php'); + $body = $view->getContent(); + //$body = file_get_contents(ROOT_PATH.config::get( 'dirs/viewsDir' ).'abandoned_basket.php'); if( mail( $email, $data_base['subject'], $body, $header, '-f '.$email_from ) ) { return true; -- libgit2 0.21.4