diff --git a/modules/privatesale_mail_delay/AdminPrivateSaleMailDelay.php b/modules/privatesale_mail_delay/AdminPrivateSaleMailDelay.php index 0aea95ca..2a2784c5 100755 --- a/modules/privatesale_mail_delay/AdminPrivateSaleMailDelay.php +++ b/modules/privatesale_mail_delay/AdminPrivateSaleMailDelay.php @@ -91,6 +91,21 @@ class AdminPrivateSaleMailDelay extends AdminTab { $mail++; } + $send = Mail::Send( + $cookie->id_lang, + 'ps_delay', + $objet_mail, + array( + '{message}' => $contenu_mail + ), + 'contact@bebeboutik.com', + 'Bebeboutik Contact', + strval(Configuration::get('PS_SHOP_EMAIL')), + strval(Configuration::get('PS_SHOP_NAME')), + NULL, + NULL, + dirname(__FILE__).'/mails/' + ); if( count($mails_errors) > 0) { echo '
Soucis sur les commandes ' . implode(',', $mails_errors) .'
';