letrof Posted October 16, 2013 Share Posted October 16, 2013 (edited) Hi, I've found out that my customers don't get "Welcome" e-mail with registration data. All other types of mail works fine. Test mail works too. I have tried both smtp and php funciton. SPAM box is empty, PS 1.5.4.1 Regards Maciek Edited October 17, 2013 by letrof (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted October 16, 2013 Share Posted October 16, 2013 Can you check if you have a template named 'password' in your mails/(language)/ folder? Link to comment Share on other sites More sharing options...
letrof Posted October 16, 2013 Author Share Posted October 16, 2013 Can you check if you have a template named 'password' in your mails/(language)/ folder? I've got 2 files there password.txt and password.html Link to comment Share on other sites More sharing options...
NemoPS Posted October 16, 2013 Share Posted October 16, 2013 Do you know if you have any module that hooks at new customer's registration? Link to comment Share on other sites More sharing options...
letrof Posted October 16, 2013 Author Share Posted October 16, 2013 not really, is there a way to find out? Link to comment Share on other sites More sharing options...
NemoPS Posted October 16, 2013 Share Posted October 16, 2013 Try and check in modules -> positions Click 'display non-positionable hooks', then look at 'SUccessfult customer account creation' And see if there is anything there (except the data mining module) Link to comment Share on other sites More sharing options...
letrof Posted October 16, 2013 Author Share Posted October 16, 2013 Thanks for the reply. There is only data minig module there. Link to comment Share on other sites More sharing options...
letrof Posted October 17, 2013 Author Share Posted October 17, 2013 no other ideas? Please. Link to comment Share on other sites More sharing options...
NemoPS Posted October 17, 2013 Share Posted October 17, 2013 I am clueless at this point Link to comment Share on other sites More sharing options...
PrestaNinja Posted October 17, 2013 Share Posted October 17, 2013 Yes, it is really strange that all mails are working except this one. Could you post (or pm) the url of your store? Link to comment Share on other sites More sharing options...
letrof Posted October 17, 2013 Author Share Posted October 17, 2013 (edited) sure thing: www.frenchhome.pl, The store is in maintenance mode now, PM me your IP so I can add you to whitelist. Edited October 17, 2013 by letrof (see edit history) Link to comment Share on other sites More sharing options...
PrestaNinja Posted October 17, 2013 Share Posted October 17, 2013 Pm sent. Can you check if you have account.html and account.txt in "mails/language/"? Link to comment Share on other sites More sharing options...
letrof Posted October 17, 2013 Author Share Posted October 17, 2013 Pm sent. Can you check if you have account.html and account.txt in "mails/language/"? Both files are in mails/PL/ Link to comment Share on other sites More sharing options...
PrestaNinja Posted October 17, 2013 Share Posted October 17, 2013 Keep a backup of pl version of account.html and account.txt. Then copy then english (/en/) version of account.html and account.txt to "/mails/pl" folder. Try again Is it "PL" or "pl"? if it is PL, make a trial with lowercase "pl". If it is still not working then we will have to go through debug. Link to comment Share on other sites More sharing options...
letrof Posted October 17, 2013 Author Share Posted October 17, 2013 Keep a backup of pl version of account.html and account.txt. Then copy then english (/en/) version of account.html and account.txt to "/mails/pl" folder. Try again Did that, but still nothing. It is /pl, sorry for mistake. Link to comment Share on other sites More sharing options...
PrestaNinja Posted October 17, 2013 Share Posted October 17, 2013 I see, can you go to "/controllers/front/AuthController.php" and look for: protected function sendConfirmationMail( Can you copy all lines starting from this one above? Link to comment Share on other sites More sharing options...
letrof Posted October 17, 2013 Author Share Posted October 17, 2013 protected function sendConfirmationMail(Customer $customer) { if (!Configuration::get('PS_CUSTOMER_CREATION_EMAIL')) return true; Mail::Send( $this->context->language->id, 'account', Mail::l('Welcome!'), array( '{firstname}' => $customer->firstname, '{lastname}' => $customer->lastname, '{email}' => $customer->email, '{passwd}' => Tools::getValue('passwd')), '[email protected]', $customer->firstname.' '.$customer->lastname ); return Mail::Send( $this->context->language->id, 'account', Mail::l('Welcome!'), array( '{firstname}' => $customer->firstname, '{lastname}' => $customer->lastname, '{email}' => $customer->email, '{passwd}' => Tools::getValue('passwd')), $customer->email, $customer->firstname.' '.$customer->lastname ); } } I've added some lines there to be aware if someone registers. But I think it didn't work before the change. Link to comment Share on other sites More sharing options...
PrestaNinja Posted October 17, 2013 Share Posted October 17, 2013 You should have warned us that you made some changes... It would have saved us some time... Please delete this line: return true; And try again... 1 Link to comment Share on other sites More sharing options...
letrof Posted October 17, 2013 Author Share Posted October 17, 2013 (edited) That was it!!! Thank you for your time and sorry for not mentioning it before, my bad, i've forgot it. Thanks again for support! Edited October 17, 2013 by letrof (see edit history) Link to comment Share on other sites More sharing options...
PrestaNinja Posted October 17, 2013 Share Posted October 17, 2013 You are welcome ! Link to comment Share on other sites More sharing options...
editorstefan Posted October 17, 2013 Share Posted October 17, 2013 I have similar problem, please take a look: http://www.prestashop.com/forums/topic/282649-no-email-to-costumer-or-me/ Please help me! Link to comment Share on other sites More sharing options...
Recommended Posts