Jump to content

[solved] Frustrating: Email Problem - Can't Configure SMTP !


Recommended Posts

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

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 follows
    250 OK

  • mail from: <your Email Address><enter>
    response should be as follows
    250 OK - mail from <your Email address>

  • rcpt to: <recipient address><enter>
    response should be as follows
    250 OK - Recipient <recipient address>

  • data<enter>
    response should be as follows
    354 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 follows
    250 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

  • Like 1
Link to comment
Share on other sites

  • 8 months later...

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

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 :D

 

So at this moment i have no acces to my back office and my webshop is down :(.

Link to comment
Share on other sites

  • 2 months later...

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

  • 9 months later...

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

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

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]
250 OK <[email protected]> Sender ok
250 OK <[email protected]> Recipient ok
data
354 Start mail input; end with <CRLF>.<CRLF>
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

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

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

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

  • 10 months later...

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

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

  • 1 month later...

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

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

×
×
  • Create New...