Alex4ndre Posted February 5, 2014 Share Posted February 5, 2014 Hi Everyone, I have a big issue with the email confirmation system (I'm using prestashop 1.5.6.0). When clients place an order, they don't receive any e-mail confirmation. I saw many forums with people saying it's because "Send an email to the customer when his/her order status has changed" has to be checked in orders->statuses but it's already checked.. Maybe it's because of an e-mail setting ? I also can not receive e-mail confirmation when I create an account on the website and don't receive anything when I want to modify password (for a user account). Does anybody has an idea on how to make it work ? Thank you Link to comment Share on other sites More sharing options...
prestashopninja Posted February 5, 2014 Share Posted February 5, 2014 Hello, Can you receive any emails when you try to send a test email from Advanced Parameters -> Email? Link to comment Share on other sites More sharing options...
Alex4ndre Posted February 6, 2014 Author Share Posted February 6, 2014 Hello prestashopninja, Thanks for your mess and sorry to reply it only now (I'm based in Europe). It actually works when I send it to the support e-mail ([email protected]) but doesn't work with gmail and hotmail ! Do you think the issue could come from here ? Thank you Link to comment Share on other sites More sharing options...
prestashopninja Posted February 6, 2014 Share Posted February 6, 2014 Most probably you have a problem with your SMTP settings. You may contact your host to check the issue and meanwhile, if you paste the headers of your test email here, we could tell more about it. Link to comment Share on other sites More sharing options...
Alex4ndre Posted February 6, 2014 Author Share Posted February 6, 2014 Hi, thank you what do you mean by "the headers of your test email" ? Link to comment Share on other sites More sharing options...
Alex4ndre Posted February 6, 2014 Author Share Posted February 6, 2014 If this is what you mean, here is the email address : [email protected] Link to comment Share on other sites More sharing options...
prestashopninja Posted February 6, 2014 Share Posted February 6, 2014 To see the email headers (so understand what they are), on gmail for example, you may click on the down arrow icon (tittled "more") and click "show original". This will display the email as raw text including highly useful info to diagnose the issue. Link to comment Share on other sites More sharing options...
Alex4ndre Posted February 6, 2014 Author Share Posted February 6, 2014 I unfortunately don't have the "show original" on gmail but I understand what you mean after looking for it in google image. I'm going to search for how to get it in thunderbird since it is where I got the email test using the support mail. Link to comment Share on other sites More sharing options...
Alex4ndre Posted February 6, 2014 Author Share Posted February 6, 2014 Ok I got it. Is it secured if I paste the whole code here ? Or I can just select a few lines ?... Here are some of them : Received: from droneman by kewek.o2switch.net with local (Exim 4.80.1) (envelope-from <[email protected]>) id 1WBLPT-0007mW-0Z for [email protected]; Thu, 06 Feb 2014 10:38:15 +0100 please tell me if you need more Link to comment Share on other sites More sharing options...
indus Posted February 6, 2014 Share Posted February 6, 2014 Have you tried using smtp mail instead of phpmail for sending the emails? Link to comment Share on other sites More sharing options...
prestashopninja Posted February 6, 2014 Share Posted February 6, 2014 Please change the sender and the recipient names and paste the whole so we can catch it, if there are any inconsistencies. Have you tried using smtp mail instead of phpmail for sending the emails? That would probably be the next step after making sure SMTP server is configured correctly. Link to comment Share on other sites More sharing options...
Alex4ndre Posted February 6, 2014 Author Share Posted February 6, 2014 Hi indus, Well no, because they say it's for experts only and I'm not Ok I will do it Link to comment Share on other sites More sharing options...
prestashopninja Posted February 6, 2014 Share Posted February 6, 2014 Hi indus, Well no, because they say it's for experts only and I'm not Ok I will do it Don't be that afraid. It's not rocket science and there are a lot of people around here to help you sort it out. Link to comment Share on other sites More sharing options...
Alex4ndre Posted February 6, 2014 Author Share Posted February 6, 2014 It's weird, it seems I can no paste and send the code ! Link to comment Share on other sites More sharing options...
Alex4ndre Posted February 6, 2014 Author Share Posted February 6, 2014 you can check this link, I put the picture here : http://sexydrone.fr/source-code-email.jpg Link to comment Share on other sites More sharing options...
prestashopninja Posted February 6, 2014 Share Posted February 6, 2014 When the domain the mail's sent from and the domain in use are different (kewek.o2switch.net and sexydrone.fr) some servers just don't love it. I will send you a gmail account via PM. Please send a test mail from your PS installation to this emal address and I'd like to check gmail's x-anti-abuse headers as well. Meanwhile to gain on time, I'd propose to proceed with @Indus' suggestion and setup the SMTP server. This is in fact the same thing as configuring your Thunderbird. All that you have to do is just to note the SMTP settings for your admin email (the one you use with Prestashop) as if you were to configure your Thunderbird. Then, you'll enter the very same info to the relevant fields in Prestashop backend and you will be probably done. Link to comment Share on other sites More sharing options...
Alex4ndre Posted February 6, 2014 Author Share Posted February 6, 2014 Ok nice ! So, I'm waiting for your email, then send you from my PS installation, then change the smtp Link to comment Share on other sites More sharing options...
Alex4ndre Posted February 6, 2014 Author Share Posted February 6, 2014 So, do you think I can just copy and paste the smtp informations I have in my thunderbird account parameters ? I actually don't know where I can find the good ones except on my server's cpanel but there are different codes here, and I don't know exactly which one I should use. Link to comment Share on other sites More sharing options...
prestashopninja Posted February 6, 2014 Share Posted February 6, 2014 To make sure we are on the same page, the stmp info for your prestashop admin email account. I assume you have some kind of Cpanel. If so, the job is quite easy and straightforward. Please confirm and I will proceed. Link to comment Share on other sites More sharing options...
prestashopninja Posted February 6, 2014 Share Posted February 6, 2014 Yes, you do have cpanel. Please login on [yourdomain.fr]:2082, switch to "email accounts", find the email address you are using with Prestashop and note the info from "configure email client" (on mine, it's under "more"). Then login to your PS admin backend, switch to advanced parameters -> email and pasthe the info to the relevant fields. Please let us know about the outcome. Link to comment Share on other sites More sharing options...
Alex4ndre Posted February 6, 2014 Author Share Posted February 6, 2014 I'm sorry, I didn't understand what do you mean by : "To make sure we are on the same page, the stmp info for your prestashop admin email account." ? Yes I have a Cpanel and they are two different columns of informations I could use but I don't know wich one is the good one and what should I use : SSL ? TSL ? There is this one : Secure SSL/TLS Settings (Recommended) User Name : [email protected] Password : Use the email account’s password. Incoming Server: [email protected] IMAP: Port xxx POP3: Port xxx Outgoing Server: [email protected] SMTP: Port xxx Authentication is required for IMAP, POP3, and SMTP. And this one : Non-SSL Settings (NOT Recommended) User Name : [email protected] Password : Use the email account’s password. Incoming Server: xxxx.mydomain.fr IMAP: Port xxx POP3: Port xxx Outgoing Server: xxxx.mydomain.fr SMTP: Port xx Authentication is required for IMAP, POP3, and SMTP. Link to comment Share on other sites More sharing options...
prestashopninja Posted February 6, 2014 Share Posted February 6, 2014 Please go with SSL. If it won't do it, you may try the other options. You may still use my gmail address or yours to make tests. Changing something there won't break anything elsewhere, so you can try the options safely. Link to comment Share on other sites More sharing options...
Alex4ndre Posted February 6, 2014 Author Share Posted February 6, 2014 Ok, I'll try it and tell you if I get something Link to comment Share on other sites More sharing options...
prestashopninja Posted February 6, 2014 Share Posted February 6, 2014 I got your test email from my gmail account, so I suppose it works now. Link to comment Share on other sites More sharing options...
Alex4ndre Posted February 6, 2014 Author Share Posted February 6, 2014 So now, the sending test works fine I sent you a test mail to your email address. Then I tried to place an order but still no email arrived in my box. Link to comment Share on other sites More sharing options...
prestashopninja Posted February 6, 2014 Share Posted February 6, 2014 Yes, I got it. Could you try to logout, login back and try again? If this not works, please add a free product on your store so we can go through the order process. Link to comment Share on other sites More sharing options...
indus Posted February 6, 2014 Share Posted February 6, 2014 This is a fast moving thread Link to comment Share on other sites More sharing options...
Alex4ndre Posted February 6, 2014 Author Share Posted February 6, 2014 And the same happens when I try to recover my user password on the site. I ask for a new password then a message says there was an email sent to my box but nothing arrived. Ok let me check Link to comment Share on other sites More sharing options...
Alex4ndre Posted February 6, 2014 Author Share Posted February 6, 2014 Ok, so I created a test product. You can get to it through this link : http://sexydrone.fr/en/home/66-test.html Link to comment Share on other sites More sharing options...
Alex4ndre Posted February 6, 2014 Author Share Posted February 6, 2014 Sorry, before that, I tried to disconnect and reconnect but it didn't change anything. Link to comment Share on other sites More sharing options...
prestashopninja Posted February 6, 2014 Share Posted February 6, 2014 Please make it also with free shipping. I know I'm asking for a lot, as a client, however otherwise, it will be my first time to pay for giving help Link to comment Share on other sites More sharing options...
Alex4ndre Posted February 6, 2014 Author Share Posted February 6, 2014 Sorry, I've just did a wrong manipulation and remove the product. Give me two min to send you a new link please... Yes I'll remove the shipping too haha Link to comment Share on other sites More sharing options...
Alex4ndre Posted February 6, 2014 Author Share Posted February 6, 2014 Sorry for beeing late, I couldn't put the shipping to 0... Now it's ok, you can use this link : http://sexydrone.fr/fr/faq/67-gift.html Link to comment Share on other sites More sharing options...
prestashopninja Posted February 6, 2014 Share Posted February 6, 2014 Well, that's the part where the fun begins I have gone through a complete order process but unfortunately I couldn't receive the usual emails. So, what you need to do next is to turn debugging on. You will need to open config/defines.inc.php file and change define('_PS_MODE_DEV_', false); to define('_PS_MODE_DEV_', true); This should give us a better idea. Link to comment Share on other sites More sharing options...
Alex4ndre Posted February 6, 2014 Author Share Posted February 6, 2014 Ok I'll do that right now Link to comment Share on other sites More sharing options...
Alex4ndre Posted February 6, 2014 Author Share Posted February 6, 2014 Ok I've just done it. The fun part lol I hope so Link to comment Share on other sites More sharing options...
prestashopninja Posted February 6, 2014 Share Posted February 6, 2014 Are you sure you changed the defines.inc.php file and uploaded it to the server? Cause there isn't even any PHP notice throughout the pages and as a developer, I'm not habituated to see something completely immune to bugs. ;-) Link to comment Share on other sites More sharing options...
Alex4ndre Posted February 6, 2014 Author Share Posted February 6, 2014 Yes I did it, it's just under /* Debug only */ I changed, false to true then uploaded it in filezilla Link to comment Share on other sites More sharing options...
indus Posted February 6, 2014 Share Posted February 6, 2014 (edited) Hi A few questions : Are you having this issue with a specific language only What payment option are you using during checkout, do you receive mails if ordered by check or bankwire etc? Also, can i suggest a simple method, reinstall the mail alerts module in the back office and try again. Make sure you again enter your admin email in module because reinstallation resets that email. Edited February 6, 2014 by indus (see edit history) Link to comment Share on other sites More sharing options...
Alex4ndre Posted February 6, 2014 Author Share Posted February 6, 2014 Hi PrestaShop Addict, It seems the issue happens whatever the language and the payment option. I will try your suggestion with the alert module after I get feedback from prestashopninja. I think he is trying something right now so I'll let him the time he needs then try it. Thanks for your help Link to comment Share on other sites More sharing options...
prestashopninja Posted February 6, 2014 Share Posted February 6, 2014 Please go on. There's no bug returning so I can't tell anything additional to what @indus has to suggest. Link to comment Share on other sites More sharing options...
Alex4ndre Posted February 6, 2014 Author Share Posted February 6, 2014 Ohhh... I meant Indus, sorry Well, so I'll try what Indus suggested Link to comment Share on other sites More sharing options...
Alex4ndre Posted February 6, 2014 Author Share Posted February 6, 2014 Thanks for you help and time Prestashopninja Link to comment Share on other sites More sharing options...
prestashopninja Posted February 6, 2014 Share Posted February 6, 2014 You are welcome. I'll be following this thread to see the outcome. Link to comment Share on other sites More sharing options...
indus Posted February 6, 2014 Share Posted February 6, 2014 (edited) Hi Can you try replacing your mail alerts module with the second one in this attachment and see if that fixes it. Edit : nvm, outdated file, Please dont use it. I suggest you download latest version 1.5.6.2 and use the mail alerts module from it . Edited February 6, 2014 by indus (see edit history) Link to comment Share on other sites More sharing options...
Alex4ndre Posted February 6, 2014 Author Share Posted February 6, 2014 @Indus and @prestashopninja, I uninstalled and re-installed the alert mail module and it changed something : I can now receive emails but only in a client account I created with a "domain name email" ([email protected]). But then I created a new client account using a gmail address and I didn't receive neither email confirmation for having created an account nor email confirmation for my purchase. Do you have any idea ? Link to comment Share on other sites More sharing options...
indus Posted February 6, 2014 Share Posted February 6, 2014 Well, can you temporarily unblock ip addresses from asia so i can register on your site and check. Right now it says iam blacklisted Link to comment Share on other sites More sharing options...
Alex4ndre Posted February 6, 2014 Author Share Posted February 6, 2014 Really ? Where wan I change that ? Link to comment Share on other sites More sharing options...
indus Posted February 6, 2014 Share Posted February 6, 2014 I dont know, i get some error when i try to checkout. Ok nvm, i think prestaninja has already tried ordering and he didnt get any confirmation either. So i dont think me registering will change anything. Just one thing, did you also enable display errors 'on' in the config file for error reporting? That might show some more errors. Debug mode true and display errors on. both should be done. Link to comment Share on other sites More sharing options...
Alex4ndre Posted February 6, 2014 Author Share Posted February 6, 2014 Ok, actually in config.inc.php if it's the file you are talking about, there is no display_errors but there are two in defines.inc.php and only one is on, the other one is off. Please check the code right below : /* Debug only */ define('_PS_MODE_DEV_', true); if (_PS_MODE_DEV_) { @ini_set('display_errors', 'on'); @error_reporting(E_ALL | E_STRICT); define('_PS_DEBUG_SQL_', true); /* Compatibility warning */ define('_PS_DISPLAY_COMPATIBILITY_WARNING_', true); } else { @ini_set('display_errors', 'off'); define('_PS_DEBUG_SQL_', false); /* Compatibility warning */ define('_PS_DISPLAY_COMPATIBILITY_WARNING_', false); } Should I turn on the second one on too ? Link to comment Share on other sites More sharing options...
indus Posted February 6, 2014 Share Posted February 6, 2014 (edited) No, it is correct. Frankly, i dont think there is anything wrong with your installation. Can you open a support ticket with your host and tell them that your emails are not going through to your customers. Their logs should give more information on it. If some emails are being blocked at their end, they would fix it. Here is a similar thread i found : http://www.prestashop.com/forums/topic/284296-solved-ps-stopped-sending-emails-to-customers/ Edited February 6, 2014 by indus (see edit history) Link to comment Share on other sites More sharing options...
Alex4ndre Posted February 6, 2014 Author Share Posted February 6, 2014 Yes, good idea, I will do that. Thank you for your help indus, it's already late there in Asia. Bye Link to comment Share on other sites More sharing options...
indus Posted February 9, 2014 Share Posted February 9, 2014 Hi Alexandre Can you tell me what is your version of the mail alerts module? It shows in the Back office. Try to update to version 3.2, it seems to fix many bugs. http://www.prestashop.com/forums/topic/280410-prestashop-156-problem-mail-alerts/page-4 On this page, you wil find the updated zip file, let me know if that fixes your problem. Link to comment Share on other sites More sharing options...
Alex4ndre Posted February 17, 2014 Author Share Posted February 17, 2014 Hi Indus, I didn't see your mess until today ! I'm sorry. I saw the file you talked about but the member's link of is not available anymore. Anyway, I downloaded the last version of prestashop on their home page and Copy/replace the mail alert module (but it's just 2.8 version, it's weird I can't see the 3.2 member's version). It actually didn't solve my problem. I'm going to contact my host provider today. I'll let you know soon if it helped or not. Thanks for helping me. See U Link to comment Share on other sites More sharing options...
Recommended Posts