thezey Posted August 3, 2013 Share Posted August 3, 2013 Hello, I am new to prestashop and have been battling for hours getting my email configuration right, but can't figure it out what goes wrong (attached screen shot). Here is the problem: When I set up email in advanced parameters and test to send an email, I get the following message: Error: Please check your configuration The SMTP connection failed to start [tls://mail.nizoralshop.com:26]: fsockopen returned Error Number 0 and Error String '' My host is Bluehost. I tried different ports and smtps, but always got an error message. Could you please help me finding a solution? Thank you Advanced Parameters - Email.tiff Link to comment Share on other sites More sharing options...
vekia Posted August 3, 2013 Share Posted August 3, 2013 can you use desktop SMTP client in with these credentials ? you can test connection with: 1. Telnet into Exchange server hosting IMS service using TCP port 25. Command is telnet <servername> 26 2. Issue the following smtp command sequence helo <your domain name><enter> response should be as follows250 OK mail from: <your Email Address><enter>response should be as follows250 OK - mail from <your Email address> rcpt to: <recipient address><enter>response should be as follows250 OK - Recipient <recipient address> data<enter>response should be as follows354 Send data. End with CRLF.CRLF To: <recipient's display name><enter>From: <your display name><enter>Subject: <Subject field of Email message><enter><Enter you body text><enter><enter> . <enter>response should be as follows250 OK quit<enter> if you've got the same responses, it mean that everything is fine. If not - it mean that your credentials to the SMTP are wrong 1 Link to comment Share on other sites More sharing options...
thezey Posted August 3, 2013 Author Share Posted August 3, 2013 Indeed, credentials are wrong. But what should i edit as I followed Bluehost procedure? Link to comment Share on other sites More sharing options...
vekia Posted August 3, 2013 Share Posted August 3, 2013 just put there correct credentials, unfortunately i don't know them i suppose that you should ask your hoster about SMTP host port Link to comment Share on other sites More sharing options...
thezey Posted August 3, 2013 Author Share Posted August 3, 2013 I finally solved the problem. I set up the port at 587 and No encryption. It works now. Link to comment Share on other sites More sharing options...
vekia Posted August 3, 2013 Share Posted August 3, 2013 im really glad that it works for you as you expect Im going to mark this thread as [solved] best regards Link to comment Share on other sites More sharing options...
Optimus_Sam Posted April 24, 2014 Share Posted April 24, 2014 Hi guys, I have the same problem. My shop isn't sending any mails. This is what i get: The SMTP connection failed to start [smtp.zet.be:587]: fsockopen returned Error Number 110 and Error String 'Connection timed out' Link to comment Share on other sites More sharing options...
vekia Posted April 24, 2014 Share Posted April 24, 2014 Hi guys, I have the same problem. My shop isn't sending any mails. This is what i get: The SMTP connection failed to start [smtp.zet.be:587]: fsockopen returned Error Number 110 and Error String 'Connection timed out' and if you try telnet guide that i pasted several posts above, what you see? Link to comment Share on other sites More sharing options...
Optimus_Sam Posted April 25, 2014 Share Posted April 25, 2014 Hi Vekia! The problem is apparantly that my server didn't have PHP upgrade and smtp installed (so i've heard). And server guys are doing the workk as we speak. I'll keep you guys updated! Sam Link to comment Share on other sites More sharing options...
vekia Posted April 25, 2014 Share Posted April 25, 2014 ohhh server without SMTP plugin for php is like ... well, i have no idea, but at least useles Link to comment Share on other sites More sharing options...
Optimus_Sam Posted April 25, 2014 Share Posted April 25, 2014 Hahahaha right on Vekia Link to comment Share on other sites More sharing options...
Optimus_Sam Posted April 25, 2014 Share Posted April 25, 2014 Haha Quess what?! So i've asked serverside to upgrade php and install the smtp thingy. And now my developper has to upgrade my script to php 5.5 or something. And he tells me he can't So at this moment i have no acces to my back office and my webshop is down . Link to comment Share on other sites More sharing options...
silviu_25 Posted July 8, 2014 Share Posted July 8, 2014 I have a problem with smtp, I entered all credentials but emails are not sent. Any idea? Link to comment Share on other sites More sharing options...
vekia Posted July 9, 2014 Share Posted July 9, 2014 if you try to send test email with your smtp credentials - it works? Link to comment Share on other sites More sharing options...
silviu_25 Posted July 9, 2014 Share Posted July 9, 2014 (edited) if you try to send test email with your smtp credentials - it works? no, is not working I entered all credentials but emails are not sent. Edited July 9, 2014 by silviu_25 (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted July 9, 2014 Share Posted July 9, 2014 are you sure that credentials you provided works? are you able to test method that i described in my post nb #2 ? Link to comment Share on other sites More sharing options...
silviu_25 Posted July 9, 2014 Share Posted July 9, 2014 are you sure that credentials you provided works? are you able to test method that i described in my post nb #2 ? Yes I can send emails with Windows Live Mail using same credentials, I checked many times smtp server , login, password, port, ssl, tls, no encryption I hace 2 options from my hosting to send emails using SMTP encrypted and no encrypted with 2 different smtp server, checked every setting but is simply does not send emails. I am advanced user and this is not first time when I configure smtp servers or prestashop so I know what I am doing. I also tried a fresh copy installed on a subdomain of prestashop version 1.6.5.2 and is not working I tried with my hosting smtp details, yahoo smtp details and google smtp details. is not working. I activated debug in defines.inc.php and I have no error. I also investigated ps_configuration table in mysql and all data are inserted corect. If I enter a wrong smtp password displays an error that informs me that I put the wrong password. If I enter the corect smtp password tells me your email has been send... I realy do not know what to do to fix this Link to comment Share on other sites More sharing options...
vekia Posted July 9, 2014 Share Posted July 9, 2014 so perhaps your hosting account doesnt allow to use smtp functions? it's possible Link to comment Share on other sites More sharing options...
silviu_25 Posted July 9, 2014 Share Posted July 9, 2014 so perhaps your hosting account doesnt allow to use smtp functions? it's possible yes it is allowing me, I asked Link to comment Share on other sites More sharing options...
jojoj Posted April 17, 2015 Share Posted April 17, 2015 Is anyone still replying to this thread. I am having the same issue on Prestashop 1.16.0.14. I've done all of the telnet tests and it my settings are correct, however, when I try it via prestashop I get the error Error: Please check your configuration The SMTP connection failed to start [70.162.217.101:50]: fsockopen returned Error Number 110 and Error String 'Connection timed out' Any suggestions? Your advise would be greatly appreciated. Link to comment Share on other sites More sharing options...
coolu Posted April 17, 2015 Share Posted April 17, 2015 Is anyone still replying to this thread. I am having the same issue on Prestashop 1.16.0.14. I've done all of the telnet tests and it my settings are correct, however, when I try it via prestashop I get the error Error: Please check your configuration The SMTP connection failed to start [70.162.217.101:50]: fsockopen returned Error Number 110 and Error String 'Connection timed out' Any suggestions? Your advise would be greatly appreciated. Error: Please check your configuration Getting same error on prestashop version 1.6.0.9 Link to comment Share on other sites More sharing options...
bellini13 Posted April 17, 2015 Share Posted April 17, 2015 what SMTP server information are you using? 70.162.217.101:50 Are you really trying to use port 50? Link to comment Share on other sites More sharing options...
jojoj Posted April 17, 2015 Share Posted April 17, 2015 I've tried all the possible ports to no avail. Here is my result when I telnet using port 50. 220 win-mail02.hostmanagement.net helo 250 win-mail02.hostmanagement.net Hello [70.162.217.101] mail from: [email protected] 250 OK <[email protected]> Sender ok rcpt to: [email protected] 250 OK <[email protected]> Recipient ok data 354 Start mail input; end with <CRLF>.<CRLF> to: [email protected] from: [email protected] subject: telnet test on port 50 Testing Port 50 . 250 OK I get the email in my mail box. BTW, port 50 is how my smartphone is configured so I can read/send emails on the go. So I have no clue where to go next. I look forward to your reply. Link to comment Share on other sites More sharing options...
bellini13 Posted April 18, 2015 Share Posted April 18, 2015 are you doing your telnet from your desktop? or are you doing it from the server where your store is hosted? also from the looks of your testing, it appears that when using port 50 there is no encryption or authentication required, so in your PS email settings, show me exactly what you would use? Link to comment Share on other sites More sharing options...
jojoj Posted April 18, 2015 Share Posted April 18, 2015 Hi Bellini13, First of all, Thank You for efforts! I really appreciate it. Yes, i am using telnet from my desktop, which is also the way my email client is configured on my android smartphone. I am hosting with hostmysite.com for email and their instructions (http://www.hostmysite.com/support/email/telnet/) indicate using port 25 if open, otherwise, use port 50. My Settings are as follows: Mail domain name: Glittertopia.com SMTP server: mail.glittertopia.com SMTP username: [email protected] SMTP password: ************ Encryption: None Port: 50 Message: Error: Please check your configuration The SMTP connection failed to start [mail.glittertopia.com:50]: fsockopen returned Error Number 110 and Error String 'Connection timed out' If I use Encryption: SSL and Port 465, i get an entirely different message, which is a lil bit more hopeful. Message: Error: Please check your configuration Authentication failed using username '[email protected]' and password '***********' Link to comment Share on other sites More sharing options...
bellini13 Posted April 18, 2015 Share Posted April 18, 2015 the best thing i can tell you to do is check with your hosting provider. obviously the server supports unecrypted connection using port 50, now the question is why does it time out when performed from your server. nothing I can help you with there. as for the second error when using SSL and port 465, i suspect the issue is that the password is not being saved in the prestashop database. for this you have to search your ps_configuration database table and see what entries exist for %SMTP% (wildcard) Link to comment Share on other sites More sharing options...
developermhayden Posted March 7, 2016 Share Posted March 7, 2016 bellini13, I have a solution to this problem. I have tested and the solution is quite easy. With your permission, bellini13, I'd like to express that solution. I know you have a fix that you are charging for, which I completely respect. Since it has been a year since your last post, I hope you will kindly permit me to present my solution to the forum. Link to comment Share on other sites More sharing options...
bellini13 Posted March 7, 2016 Share Posted March 7, 2016 Yes please share your solution. My solution resolves the lack of support for STARTTLS by upgrading to a more modern version of swiftmailer. I'd like to understand your solution to see how it addresses the lack of STARTTLS support. I have expressed multiple times in the forums that I do not wish to maintain my swiftmailer solution, and I only charge a fee for maintaining the various different patches required for each version of prestashop. If there is an easier solution that resolves the lack of STARTTLS in swiftmailer, I'd like to know about it. Link to comment Share on other sites More sharing options...
prstshp8 Posted April 11, 2016 Share Posted April 11, 2016 bellini13, I have a solution to this problem. I have tested and the solution is quite easy. With your permission, bellini13, I'd like to express that solution. I know you have a fix that you are charging for, which I completely respect. Since it has been a year since your last post, I hope you will kindly permit me to present my solution to the forum. Please post your solution/instructions, as I have a similar problem with prestashop/swiftmailer. Thank you Link to comment Share on other sites More sharing options...
prstshp8 Posted April 11, 2016 Share Posted April 11, 2016 Yes please share your solution. My solution resolves the lack of support for STARTTLS by upgrading to a more modern version of swiftmailer. I'd like to understand your solution to see how it addresses the lack of STARTTLS support. I have expressed multiple times in the forums that I do not wish to maintain my swiftmailer solution, and I only charge a fee for maintaining the various different patches required for each version of prestashop. If there is an easier solution that resolves the lack of STARTTLS in swiftmailer, I'd like to know about it. Please post your solution/instructions, as I have a similar problem with prestashop/swiftmailer. Thank you Link to comment Share on other sites More sharing options...
prstshp8 Posted April 11, 2016 Share Posted April 11, 2016 (edited) hey developermhayden and bellini13, is this here https://www.prestashop.com/forums/topic/474063-the-smtp-connection-failed-to-start-tlssmtpgmailcom587/ as good or better than your solutions? thx Edited April 11, 2016 by prstshp8 (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts