Merge branch 'ticket-12754-MailAlert' into develop

This commit is contained in:
Marion Muszynski 2017-04-03 10:43:57 +02:00
commit bf242e592b

View File

@ -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 '<div class="error">Soucis sur les commandes ' . implode(',', $mails_errors) .'</div>';