Modification du destinataire de l'email

This commit is contained in:
Valentin 2017-06-23 15:43:02 +02:00
parent f646c42db7
commit b15a82b1ae

View File

@ -77,9 +77,8 @@ class addCustomerFormModuleFrontController extends ModuleFrontController
'{siret}' => Tools::getValue('siret'),
);
$dest = 'tarlowski@antadis.com';
Mail::Send(intval(Context::getContext()->language->id), 'addcustomer', $subject, $data, $dest, null, null, null, null, null, 'modules/addcustomer/mails/');
Mail::Send(intval(Context::getContext()->language->id), 'addcustomer', $subject, $data, 'christophe@roykin.fr', null, null, null, null, null, 'modules/addcustomer/mails/');
Mail::Send(intval(Context::getContext()->language->id), 'addcustomer', $subject, $data, 'gerald@roykin.fr', null, null, null, null, null, 'modules/addcustomer/mails/');
$link = $this->context->link->getPageLink('index').'?register=success';
Tools::redirect($link);
}