vefe Posted August 23, 2014 Posted August 23, 2014 Bonjour, Sur v1.6 actuelle (dernière MAJ le 20-08-2014)... Je voudrais pouvoir recevoir tous les mails envoyés aux clients en copie (cachée si possible ?). Peut-être qu'une bonne âme qui passera par là pourra m'indiquer le chemin et le bout de code... (dans classe Mail ou autre...) D'avance merci à toutes et tous, Share this post Link to post Share on other sites More sharing options...
Mediacom87 Posted August 23, 2014 Posted August 23, 2014 Bonjour, ne vous cassez pas la tête à chercher une solution, il vous suffit d'utiliser un service de SMTP comme Mandrill et hop vous pourrez consulter tous les mail envoyés par votre boutique et connaitre en plus les statistiques d'ouverture et de clic. Service gratuit pour moins de 12 000 mails par mois. Share this post Link to post Share on other sites More sharing options...
D-fox Posted April 20, 2015 Posted April 20, 2015 (edited) Ajouter ceci /* ajout BCC */ $list->addBcc('[email protected]'); /* my code end */ Au fichier /tools/swift/Swift.php aux alentours de la ligne 361, après ce bout de code { $list = new Swift_RecipientList(); $list->addTo($recipients); } Edited April 20, 2015 by Sarahd (see edit history) Share this post Link to post Share on other sites More sharing options...
doudoujack Posted July 15, 2015 Posted July 15, 2015 Hello ! I have somewhere a bug ... I received all mails sent from the website since I installed prestashop. I didn't have to configure anything. Now i'm not receiving the mails (f.e. when a customer creates an account). I tried you method, nothing changed ... Any idea ? Thanks Share this post Link to post Share on other sites More sharing options...
nagneau Posted December 5, 2016 Posted December 5, 2016 Avec la version 1.6.1.7 le fichier swift.php n'existe pas et la ligne indiquée non plus, y a t'il une autre solution pour cette version de prestashop ? Share this post Link to post Share on other sites More sharing options...
nagneau Posted December 5, 2016 Posted December 5, 2016 Peut être : tools\swift\classes\Swift\Plugins\RedirectingPlugin.php à la ligne 120 -121 if (!array_key_exists($recipient, $to)) { $message->addTo($recipient); /* ajout BCC */ $message->addBcc('[email protected]'); /* my code end */ } Share this post Link to post 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