yonisdistrib Posted August 20, 2013 Share Posted August 20, 2013 (edited) We work on presta 1.4.7 and we wish synchronized email presta with our messaging Outlook Microsoft 365. We meet a concern(marigold) with the configuration of the SMTP parameters in Panel(Sign) of administration / Preferences / Emails We mark: " use my own SMTP parameters. For the experts ONLY " We bring in all the parameters necessity: Our Domain name Waiter's(Server) name: smtp.office365.com User Password Method of encryption: TLS Port(Bearing): 587 And in spite of he(it) is just and verified several times we meet the following error message by sending a test email: Error: thank you for verifying your configuration The SMTP connection failed to start [tls: // smtp.office365.com:587]: fsockopen returned Error Number 0 and Error String For information it works perfectly with our messaging GMAIL. The concern(marigold) settles(arises) only with the encoding TLS and with Outlook! Could anybody help us? Is Prestashop compatible with Outlook? The encoding TLS works you he(it) correctly? Would anybody have a solution? Thank you in advance for your answers. Edited August 20, 2013 by yonisdistrib (see edit history) Link to comment Share on other sites More sharing options...
bellini13 Posted August 20, 2013 Share Posted August 20, 2013 http://forge.prestashop.com/browse/PSCFV-10102 Link to comment Share on other sites More sharing options...
yonisdistrib Posted August 21, 2013 Author Share Posted August 21, 2013 Thank you but your link does not give us of solution. We wish that works with an encoding TLS, not in SSL So we wish to use Outlook, not gmail or other. Cordially Link to comment Share on other sites More sharing options...
bellini13 Posted August 21, 2013 Share Posted August 21, 2013 The link is to a bug report which states that a solution cannot be provided by Prestashop. Read the reason why it was closed. Link to comment Share on other sites More sharing options...
yonisdistrib Posted August 21, 2013 Author Share Posted August 21, 2013 (edited) Thus Prestashop is not compatible with Outlook? The function TLS does not work? And nobody have solution? Thanks Edited August 21, 2013 by yonisdistrib (see edit history) Link to comment Share on other sites More sharing options...
bellini13 Posted August 21, 2013 Share Posted August 21, 2013 It has nothing to do with Prestashop. Read the comments in the bug report. Link to comment Share on other sites More sharing options...
yonisdistrib Posted August 21, 2013 Author Share Posted August 21, 2013 I read the comment !!! Rémi GAILLARD added a comment - 19/Aug/13 4:50 PM Hi, I am sorry but we can do nothing for this. The SMTP servers of live.com don't not support the SSL version of your PHP. You can : change your mail provider (that is working fine with gmail), upgrade your openssl librairy of your PHP Best Regards, Link to comment Share on other sites More sharing options...
yonisdistrib Posted August 21, 2013 Author Share Posted August 21, 2013 But Rémi Gaillard lad speaks of SSL version of PHP. My problem is with TLS, no with SSL ! Also, if I need upgrade my openssl librairy of PHP, which version is compatible ? Somebody in already managed to make worked prestashop with Outlook by making this update? Link to comment Share on other sites More sharing options...
El Patron Posted August 21, 2013 Share Posted August 21, 2013 see if this thread helps: http://www.prestashop.com/forums/topic/265945-solved-frustrating-email-problem-cant-configure-smtp/ Link to comment Share on other sites More sharing options...
bellini13 Posted August 21, 2013 Share Posted August 21, 2013 You can read this article if you would like to understand about SSL and TLS. It might help you understand why openssl would effect both SSL and TLS http://www.symantec.com/connect/articles/introduction-openssl-part-four-ssl-and-tls-protocols Link to comment Share on other sites More sharing options...
bellini13 Posted August 22, 2013 Share Posted August 22, 2013 (edited) After further review, this is an issue with the version of Swift Mailer being used by Prestashop. The version being used is 3.3.2, which is from 2007... seriously? Downloading the latest stable version 5.0.1 dated June 2013, and executing a unit test connecting to smtp.office365.com, port 587, using TLS, I am able to send mail properly. Using Swift Mailer version 3.3.2, and performing the same unit test, fails with the following error The SMTP connection failed to start [tls://smtp.office365.com:587]: fsockopen returned Error Number 0 and Error String ''' tools\swift\Swift\Connection\SMTP.php on line 309 Prestashop should seriously consider upgrading their embedded Swift Mailer library version. Failing to do that, Prestashop should provide a patch that would correct the issue on the 6 year old software they are using. I have re-created the original bug report with this new information http://forge.prestashop.com/browse/PSCFV-10182 Edited August 22, 2013 by bellini13 (see edit history) 1 Link to comment Share on other sites More sharing options...
bellini13 Posted August 23, 2013 Share Posted August 23, 2013 I am in the process of creating a patch for v1.5.4.1 that will address this issue, and then to other PS versions on demand. The goal is to install the latest version of the Swift library and then alter the core Prestashop functionality to use the new library instead of the old library. If this is something you would be interested in, send me a PM with the following information. Your Prestashop version (ie v1.5.4.1) Your PHP version (ie v5.3.3) There will be a cost associated for my time to create the patch specific to your hosting environment and Prestashop version, and then the time to install and test it. 1 Link to comment Share on other sites More sharing options...
flamedtofu Posted September 28, 2013 Share Posted September 28, 2013 I had the same problem as the OP, but using live domains not 365, anyway I bought Bellini's modification and although it fixed the "The SMTP connection failed to start" and made the test email send my customers still could not receive emails, I ended up tracing it down to the folder /mails/en. I had "mails/en" once I renamed it to "mails/EN" guess what? it worked. I'm really not sure why this would have been lowercase instead of uppercase but at least it is fixed. So heads up to bellini's modification and if you are still having troubles check that you have a capital EN. Link to comment Share on other sites More sharing options...
bellini13 Posted September 28, 2013 Share Posted September 28, 2013 to further explain flamedtofu's issue, the language ISO Code was entered as EN, and so Prestashop was expecting to locate the mail templates in a folder mails/EN. Typically the iso codes are entered in lowercase, and this is not a problem. 1 Link to comment 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