We help IT Professionals succeed at work.

SMTP connect() failed - WordPress

canu
canu asked
on
830 Views
Last Modified: 2017-03-20
Hi,
I'm non technical so please bear with me.
We have a WordPress website that has a number of plugins which send out e-mails for example, a form plugin, security plugins etc.
I have an issue where I found that the website wasn't sending any messages to the intended recipients.
Our website is hosted at one company and the e-mails reside at another.

I've contacted both the hosting company and the e-mail service provider and they stated that all is well at both their ends but I'm still not able to send messages from the website.

This is an example of the error message:
SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

I suspect that this is an issue at the Hosting end but after speaking with one of their reps again yesterday, they seemed more interested in telling me what they won't do rather than what they would.
They ran a script which sent a message from the hosting server but this was from their server not the SMTP server.
They also stated that they did not have any blocks in place to prevent the SMTP connection.

Does anyone have any idea what I can do to move things forward?

Thanks!
Comment
Watch Question

CERTIFIED EXPERT
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION
canuWebmaster

Author

Commented:
Unfortunately Marcus, the troubleshooting guide reads like Mandarin to me. I'm not a programmer and don't know any PHP.
From the very limited description of the problem, could the ISP be blocking the SMTP connection?
CERTIFIED EXPERT

Commented:
Yes. It's very common. Alternatively, they could be intercepting SMTP traffic and redirecting it to their own server, which may also prevent things working as you expect - for example it will cause TLS connections to fail.
canuWebmaster

Author

Commented:
OK, thanks Marcus.
Is there a more simple to understand way of diagnosing this issue?
Thanks for your time.


Regards,
canu
CERTIFIED EXPERT

Commented:
Not really. It's a technical problem with technical solutions. Without being able to test it properly, we are working blind.
canuWebmaster

Author

Commented:
I used another plugin to try and diagnose the problem and found that the SMTP ports were being blocked by the mail ISP which I will address with them.

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions