ecommdev Posted December 11, 2014 Share Posted December 11, 2014 Hello, Using Prestashop 1.6.0.9 with Multistore enabled. I am trying to setup using my own SMTP parameters. I have already confirmed the SSL socket has been enabled, firewall is not blocking outgoing ports 25, 465, 587. I have attempted with two different smtp servers and always receive the same result with varying degrees of error configuration messages from the TEST email attempt. 1) Trying with Amazon's SMTP service, Usually receive error like this "Error: Please check your configuration"....view screenshot, http://gyazo.com/a03d12ca5c1a0f327c4ef3e4918d01c1 2) Trying with Gmail's SMTP service, Usually receive error like this "Error: Please check your configuration, The SMTP connection failed to start {tls://smtp.gmail.com:587} fsocketopen returned Error number 0 and Error string"....view screenshot, http://gyazo.com/6ea667df1091ecac86a0f0a4cbe0b0e0 I understand about the smtp settings, mail server, user, password, port number, ssl/tls, I have triple verified the details and settings but never receive a successful test email sent. I opened the mail.log file and did not see any error messages to understand why its not working. Has anyone been successful with using Amazon's SMTP service for sending email from Prestashop? Does anyone have any input or run into these issues before. I am also thinking about trying out other smtp services like sendgrid or mandrill? Any info would be helpful for the community. Link to comment Share on other sites More sharing options...
Dh42 Posted December 11, 2014 Share Posted December 11, 2014 Honestly the smtp with prestashop does not work. They use such an old version of swift, they do not support most services. Bellini services has a module that will update it. Other than that, you can either put in a bug report with prestashop about it, or you can configure all outgoing mail on your server to use mandrill or sendgrid. I have my server set to mandrill now. On another note, don't use gmail, the connection time takes a really long time and I have seen registration pages take 1 minute to load because it waits for a response before it continues. 2 Link to comment Share on other sites More sharing options...
ecommdev Posted December 11, 2014 Author Share Posted December 11, 2014 Thanks for getting back with me. I have a few follow up questions. I will surely look into bellini services module to update swift and good advice about not using gmail. You mentioned you have your server configured for all outgoing mail to use mandrill. Can you provide more info about this concept, are you simply changing the prestashop smtp settings OR are you choosing the prestashop php mail method and then another settings with mandrill OR is this a entire server wide change? I am very interested in learning more about this concept. Please let me know. Link to comment Share on other sites More sharing options...
Dh42 Posted December 11, 2014 Share Posted December 11, 2014 I am actually using a server wide change. the main reason for it was that one of my clients got an ip on the machine on a spam list and it was the quickstep way to mitigate the issue. This might help a bit, but you need root and whm root access, http://www.techpoint.co.za/how-to-set-up-cpanelwhm-to-send-emails-using-mandrill/ Link to comment Share on other sites More sharing options...
ecommdev Posted December 12, 2014 Author Share Posted December 12, 2014 Dh42, Thanks for the smtp server advice and letting me know about Bellini services module. Everyone....If you are having any issues with SMTP in prestashop, I highly recommend you checkout Bellini services module to fix the smtp issue. Wasted two days trying to get smtp in prestashop to work but kept getting the error messages. Installed the Swiftmailer upgrade by Bellini Services and worked liked magic. Here is the link, https://www.bellini-services.com/shop/modifications/39-swift-mailer-upgrade-better-support-for-ssltls.html BTW: No one has asked or promoted this endorsement, I simply had a smtp issue (which was driving me totally crazy), was recommend to a solution by Dh42 (thank you), purchased solution and now recommending for all to checkout. Do your own research and make your own decision. Thanks 2 Link to comment Share on other sites More sharing options...
bellini13 Posted December 13, 2014 Share Posted December 13, 2014 I just wanted to add that the modification I sell will help, but only if your SMTP server requires the usage of STARTTLS. With the recent POODLE SSL issue, I suspect more SMTP servers will be moving to STARTTLS and away from SSL or TLS support. With that said, and while I appreciate selling this modification to help address merchants needs, I would really prefer to see Prestashop either upgrade their included swift mailer version, or move to another PHP based mailer that supports STARTTLS. SMTP support should work out of the box, and not use 7-8 year old software that is likely full of issues... 2 Link to comment Share on other sites More sharing options...
ecommdev Posted December 13, 2014 Author Share Posted December 13, 2014 I completely agree with bellini13, Prestashop years ago should have updated the swiftmailer for smtp & continued to update or changed to a different php mailer system while updating as well. If you think about it, prestashop is wanting to promote the fact their ecommerce system is cutting edge technology but they are ignoring the behind the scence elements which are very important aspects to running any ecommere business. Including any type of outdated technology that is 7 years old within prestashop is totally unacceptable. What other elements within prestashop are many years old that needs to be updated and Prestashop is ignoring? This needs to turn into an important discussion about where the prestashop is now and where its headed in the future. Link to comment Share on other sites More sharing options...
Dh42 Posted December 14, 2014 Share Posted December 14, 2014 With that said, and while I appreciate selling this modification to help address merchants needs, I would really prefer to see Prestashop either upgrade their included swift mailer version, or move to another PHP based mailer that supports STARTTLS. SMTP support should work out of the box, and not use 7-8 year old software that is likely full of issues... I have long thought there is an exploit in the mail system, I have just yet to find it. The swift version is so old and there have been so many updates to it in the last 7 there has to be something in there. Link to comment Share on other sites More sharing options...
Recommended Posts