addition of mail sending to contact@bebeboutik.com

This commit is contained in:
Marion Muszynski 2017-04-03 10:43:38 +02:00
parent aefba6f752
commit b7f52f26ef

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>';