L
L
love_fishing2018-07-06 14:55:50
CMS
love_fishing, 2018-07-06 14:55:50

smtp stopped working after updating wordpress to 4.9.7?

Good day, please. Emails were sent normally yesterday.
Tonight I received a letter that the system has been updated. I tried to send an email on my site. phpmail works
Smtp does not want to.
Error Log:
Versions:
WordPress: 4.9.7
WordPress MS: No
PHP: 5.6.36
WP Mail SMTP: 1.2.5
Params:
Mailer: smtp
Constants: No
ErrorInfo: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubl...
Host: smtp.yandex.ru
Port: 465
SMTPSecure: ssl
SMTPAutoTLS: bool(true)
SMTPAuth: bool(true)
Server:
OpenSSL: Yes
Apache. mod_security: No
SMTP Debug:
2018-07-06 10:35:44 Connection: opening to ssl://smtp.yandex.ru:465, timeout=300, options=array (
)
2018-07-06 10:35:44 Connection: Failed to connect to server.
Error number 2. “Error notice : stream_socket_client(): SSL operation failed with
code to server. Error number 2. “Error notice: stream_socket_client(): Failed to enable crypto
2018-07-06 10:35:44 Connection: Failed to connect to server. Error number 2. “Error notice: stream_socket_client(): unable to connect to ssl://smtp.yandex.ru:465 (Unknown error)
2018-07-06 10:35:44 SMTP ERROR: Failed to connect to server: (0)
2018-07-06 10:35:44 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubl...
Problem updating wordpress?
The list of files updated in the new release is as follows:
List of Files Revised
wp-admin/edit-form-comment.php
wp-admin/includes/class-wp-community-events.php
wp-admin/includes/file.php
wp-admin /includes/misc.php
wp-admin/includes/plugin.php
wp-admin/includes/template.php
wp-admin/includes/user.php
wp-admin/privacy.php
wp-includes/class-wp-term- query.php
wp-includes/comment-template.php
wp-includes/pluggable.php
wp-includes/user.php
wp-includes/widgets.php
wp-includes/functions.php
wp-includes/post.php
Can you try to overwrite them with files from the previous release? Or wait for news from wordpress?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexander Sobolev, 2018-07-07
@love_fishing

ErrorInfo: SMTP connect() failed.
You are not verified. "Saw" the settings. And if it's completely edge - try to reinstall and configure the plugin of the latest version again. When I update WP Mail SMTP works fine for me

O
Orkhan Hasanli, 2018-07-06
@azerphoenix

Hello!
I am using WP Mail SMTP 1.3.3 + WP 4.9.7 plugin
Everything works great. Look for the cause in something else

Z
zascherinsky, 2018-07-18
@zascherinsky

Well, my problem arose due to an update to the ca-certificates package received from the developers of the operating system. The problem occurs precisely on centos 6.
As a temporary solution, I can advise you to install php5.5 for the site on which the problem occurs, in this version of PHP there is no certificate verification yet and the problem should not occur.
Unless, of course, you have a problem with this)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question