JasonRShaver Posted August 12, 2013 Share Posted August 12, 2013 I am trying to setup my new PrestaShop store with my existing Office365 webmail. I have set the expected values given to me by Office 365: SMTP setting Server name: smtp.office365.com Port: 587 Encryption method: TLS in the Advanced Parameters -> E-mail screen and running a test gives the following error: The SMTP connection failed to start [tls://smtp.office365.com:587]: fsockopen returned Error Number 0 and Error String '' I also tried some other settings based while trying some things out: The SMTP connection failed to start [tls://pod51044.outlook.com:587]: fsockopen returned Error Number 0 and Error String '' The SMTP connection failed to start [ssl://pod51044.outlook.com:587]: fsockopen returned Error Number 0 and Error String '' Has anyone else been able to get PrestaShop working with Office 365? Do I need to use a different mail system (PHPMailer or something)? Where would I start with customizing that in the code? Any advice anyone can give would be greatly helpful! Link to comment Share on other sites More sharing options...
vekia Posted August 13, 2013 Share Posted August 13, 2013 the question is: other mail accounts works? can you test, for example google mail etc.? Link to comment Share on other sites More sharing options...
mfractal Posted August 13, 2013 Share Posted August 13, 2013 Yep, same issue here. Tested proven working cridentials with outlook.com email, and with gmail (which works on my forum) and both return this message. The SMTP connection failed to start [tls://smtp.gmail.com:587]: fsockopen returned Error Number 0 and Error String '' or for outlook.com: The SMTP connection failed to start [tls://smtp.live.com:587]: fsockopen returned Error Number 0 and Error String '' I firmly believe this is a prestashop bug since both of these settings work for me when i test them on other platforms. 1 Link to comment Share on other sites More sharing options...
bellini13 Posted August 13, 2013 Share Posted August 13, 2013 should submit as a bug report in the bug tracker Link to comment Share on other sites More sharing options...
mfractal Posted August 13, 2013 Share Posted August 13, 2013 just submitted it : http://forge.prestashop.com/browse/PSCFV-10102 Link to comment Share on other sites More sharing options...
JasonRShaver Posted August 14, 2013 Author Share Posted August 14, 2013 Thanks for the help guys! I will be following the bug for a solution. Link to comment Share on other sites More sharing options...
qoeme Posted October 29, 2013 Share Posted October 29, 2013 any update on this issue? Link to comment Share on other sites More sharing options...
bellini13 Posted October 29, 2013 Share Posted October 29, 2013 Prestashop rejected the change, and then rejected my submission as well. http://forge.prestashop.com/browse/PSCFV-10182 They do not see the issue with using 7 year old software that does not support STARTTLS. They also fail to provide valid jusitifcation. You are on your own... If you must use your own SMTP server that requires STARTTLS, then you can use my patch I created for this. http://www.prestashop.com/forums/topic/270220-modification-swift-mailer-upgrade-better-support-for-ssltls/ Link to comment Share on other sites More sharing options...
kfc_zjian Posted February 24, 2014 Share Posted February 24, 2014 any solution on this issue? Link to comment Share on other sites More sharing options...
bellini13 Posted February 24, 2014 Share Posted February 24, 2014 unfortunately the solution is to use my patch, or implement one of your own Mail libraries that support STARTTLS Link to comment Share on other sites More sharing options...
kfc_zjian Posted February 25, 2014 Share Posted February 25, 2014 i have purchased your upgrade service, just contact me at my email which used for placing order. Link to comment Share on other sites More sharing options...
ricky11 Posted March 7, 2014 Share Posted March 7, 2014 (edited) I am getting this error : on version 1.5.6.2 latest stable as of 7th march 2014 WORKS WITH GMAIL THOUGH.... why would it work with gmail and not work office365 (exchange online)?? The SMTP connection failed to start tls : / / smtp.office365.com:25 fsockopen returned Error Number 110 and Error String 'Connection timed out' Edited March 7, 2014 by ricky11 (see edit history) Link to comment Share on other sites More sharing options...
bellini13 Posted March 7, 2014 Share Posted March 7, 2014 (edited) there are 2 issues I see First, you are trying to connect to office365 using port 25, which is probably blocked by your hosting provider. I would try using port 587. Second, I believe after changing your port to 587, you are then going to encounter a different error. The next error will likely be ... fsockopen returned Error Number 0 and Error String Edited July 23, 2014 by bellini13 (see edit history) Link to comment Share on other sites More sharing options...
sabio Posted May 19, 2014 Share Posted May 19, 2014 Hi Anything on this, we can't use office 365s SMTP with Prestashop? Link to comment Share on other sites More sharing options...
anncrow Posted July 22, 2014 Share Posted July 22, 2014 (edited) For others ending up on this thread: I did buy Bellini's patch and the system finally send email though my Outlook 365 address. After a lot of research, I don't think there's an easier solution. The patch works great and is easy to install. Edited July 22, 2014 by anncrow (see edit history) 1 Link to comment Share on other sites More sharing options...
poolpe Posted November 19, 2014 Share Posted November 19, 2014 Hello, If you use this patch and can send mail via office365 smtp. Can the mails be retrieved in the "sent items" of the account used for authentification ? Because i use swiftmailer and can send mail via smtp.office365.com but i can't found the mails in my office365. If i use a gmail account, i can found them in "sent items". Thx. Link to comment Share on other sites More sharing options...
alexthemaster Posted April 19, 2016 Share Posted April 19, 2016 i have buy Bellini addons and work!!!! Link to comment Share on other sites More sharing options...
nts-solingen Posted August 31, 2017 Share Posted August 31, 2017 Hi all, I have the same problem, get this error after trying to change the smpt entries of my office365 exchange accout: smtp: smtp.office365.com, TLS, Port 587 Fehler: Bitte prüfen Sie Ihre Einstellungen Does anyone has a solution for working with smtp mail of office 365? Link to comment Share on other sites More sharing options...
bellini13 Posted August 31, 2017 Share Posted August 31, 2017 Hi all, I have the same problem, get this error after trying to change the smpt entries of my office365 exchange accout: smtp: smtp.office365.com, TLS, Port 587 Fehler: Bitte prüfen Sie Ihre Einstellungen Does anyone has a solution for working with smtp mail of office 365? what version of Prestashop are you using? Link to comment Share on other sites More sharing options...
Diogo Nunes Posted April 14, 2020 Share Posted April 14, 2020 Hi, I have the same problem with Office 365 Expected response code 250 but got code "554", with message "554 5.2.0 STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message Cannot submit message. 0.35250:02016F81 Link to comment Share on other sites More sharing options...
Sebastien MAS Posted April 9, 2021 Share Posted April 9, 2021 It's the same for me Erreur : veuillez vérifier votre configuration Connection could not be established with host smtp.office365.com [Connection refused #111] Link to comment Share on other sites More sharing options...
BeatsMe Posted October 22, 2023 Share Posted October 22, 2023 (edited) Sorry for digging up an old topic, but I have the same problem now.... I have just recently switched to Microsoft 365 Business email and cannot get the email working either. Have tried on a live site running ps1.6.1.24 and my test site running ps8.1.2 using the attached setting. Have contacted Microsoft support and they tell me it's not an error on their end. Did anyone find a solution to this problem?? Edited October 22, 2023 by BeatsMe (see edit history) 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