From b7f52f26ef761399f3a3fcca57eda42fbde4b768 Mon Sep 17 00:00:00 2001 From: Marion Muszynski Date: Mon, 3 Apr 2017 10:43:38 +0200 Subject: [PATCH] addition of mail sending to contact@bebeboutik.com --- .../AdminPrivateSaleMailDelay.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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) .'
';