D
D
drtvader2018-01-31 07:55:08
WordPress
drtvader, 2018-01-31 07:55:08

Why is smtp not working on wordpress?

Hey!
I'm trying to set up smtp, I seem to have set everything up as it should, but I get an error:

Versions:
WordPress: 4.5.13
WordPress MS: No
PHP: 5.3.29
WP Mail SMTP: 1.2.4
Params:
Mailer: smtp
Constants: No
ErrorInfo: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Host: smtp.yandex.ru
Port: 465
SMTPSecure: ssl
SMTPAutoTLS: bool(false)
SMTPAuth: bool(true)
Server:
OpenSSL: Yes
Apache.mod_security: No
SMTP Debug:
2018-01-31 04:41:10	Connection: opening to ssl://smtp.yandex.ru:465, timeout=300, options=array (
)
2018-01-31 04:41:10	Connection: Failed to connect to server. Error number 2. "Error notice: stream_socket_client() [<a href='function.stream-socket-client'>function.stream-socket-client</a>]: unable to connect to ssl://smtp.yandex.ru:465 (Connection refused)
2018-01-31 04:41:10	SMTP ERROR: Failed to connect to server: Connection refused (111)
2018-01-31 04:41:10	SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

Tried gmail and yandex. hosting timeweb.
Maybe something else needs tweaking?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex, 2018-01-31
@mr_ko

Here is the answer in the log:
Apache.mod_security: No

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question