Commit 8ff98090570acbb9b4e2564141389c9e386ce419

Authored by Alex Savenko
1 parent cda57461

generate letter

Showing 1 changed file with 3 additions and 1 deletions   Show diff stats
src/lib/sendmail.php
... ... @@ -305,11 +305,13 @@ namespace
305 305 $view->start();
306 306 $view->render( 'sendmail', 'abandoned_basket.php' );
307 307 $view->finish();
  308 + $body = $view->getContent();
  309 + $body = 'test123';
308 310  
309 311  
310 312  
311 313  
312   - if( mail( $email, $data_base['subject'], $view->getContent(), $header, '-f '.$email_from ) ) {
  314 + if( mail( $email, $data_base['subject'], $body, $header, '-f '.$email_from ) ) {
313 315 return true;
314 316 }
315 317 else {
... ...