Commit 96e895db31d182200fbe3fcc1a708a832b56eeef
1 parent
e3986d0e
generate letter
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
src/lib/sendmail.php
| ... | ... | @@ -305,7 +305,8 @@ namespace |
| 305 | 305 | $view->start(); |
| 306 | 306 | $view->render( 'sendmail', 'abandoned_basket.php' ); |
| 307 | 307 | $view->finish(); |
| 308 | - $body = file_get_contents(ROOT_PATH.config::get( 'dirs/viewsDir' ).'abandoned_basket.php'); | |
| 308 | + $body = $view->getContent(); | |
| 309 | + //$body = file_get_contents(ROOT_PATH.config::get( 'dirs/viewsDir' ).'abandoned_basket.php'); | |
| 309 | 310 | |
| 310 | 311 | if( mail( $email, $data_base['subject'], $body, $header, '-f '.$email_from ) ) { |
| 311 | 312 | return true; | ... | ... |