Néantine Posted April 23, 2010 Share Posted April 23, 2010 Bonsoir à tous, Je souhaiterai savoir si il est possible de désactiver temporairement l'envoi de mail lors de l'inscription d'un nouveau client ?et si oui comment faire ?Bonne soirée Link to comment Share on other sites More sharing options...
Yoya Posted April 24, 2010 Share Posted April 24, 2010 Bonjour Néantine et bienvenue à toi.Je ne connais pas de moyen de le faire dans la configuration de PS, cependant, en modifiant le fichier authentication.php, à la racine de ton site, c'est jouable.Tu peu remplacer : if (Mail::Send(intval($cookie->id_lang), 'account', 'Welcome!',array('{firstname}' => $customer->firstname, '{lastname}' => $customer->lastname, '{email}' => $customer->email, '{passwd}' => Tools::getValue('passwd')), $customer->email, $customer->firstname.' '.$customer->lastname)) Par //if (Mail::Send(intval($cookie->id_lang), 'account', 'Welcome!',array('{firstname}' => $customer->firstname, '{lastname}' => $customer->lastname, '{email}' => $customer->email, '{passwd}' => Tools::getValue('passwd')), $customer->email, $customer->firstname.' '.$customer->lastname)) A bientot,Cdlt,Pierre. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now