Jump to content

Désactiver temporairement l'envoi de mail à l'inscription


Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...