Jump to content

Sending email with SMTP fails with Swift timeout error - Prestashop 1.6.1.17


johnt

Recommended Posts

Hello,

I am using Prestashop 1.6.1.17 and for sending emails i am using SMTP. Below are the settings for the SMTP connection.

The problem is that sometimes when Prestashop tries to send an email, the following error (Swift error) appears in the logs and the email fails to be sent.

Why is this Swift error happening and what can i do to solve it ?

 

Thank you,

John

SMTP_Settings.png

Logs.png

Link to comment
Share on other sites

15 hours ago, Guest said:

Go to Preferences > Store Contacts > Contact details, make sure the shop email address match the domain name.

Thank you for your reply.

I have checked this and the shop email address matches the domain name in the SMTP settings.

But still, the error occurs...

Link to comment
Share on other sites

18 hours ago, Guest said:

SMTP server is also to your domain?
It's not and that's the mistake.
Likewise, gmail, etc. does not work.

Hello,

No, SMTP is not on my domain. It is an “anti spam” service provided by Spam Experts. So it is something that must be used here as it is a service that guarantees deliverability of the email messages.

The strange thing is that there are times when emails are sent, and there are times when emails are not sent (this is when the timeout error is logged).

It is really frustrating as emails are not sent to customers when this timeout occurs.

Link to comment
Share on other sites

It is best not to use another provider's SMTP emails.
I'm going to buy mydomain.com. I expect email from mydomain.com.
I get an email from antispam.com.
I no longer trust mydomain.com when hiding behind another email. Canceling the order and go shopping elsewhere.
You have two options for proper operation.
1. Use your domain's SMTP server
2. Do not use SMTP and send emails via php mail function

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...