D
D
Dmitry2016-08-30 10:04:42
SMTP
Dmitry, 2016-08-30 10:04:42

Why is there no connection to smtp.yandex.ru from sites on https://?

Good day.
Prompt in what there can be an ambush. On the server (DirectAdmin) there are sites that work on http://, and there are sites that work on https://
Let's Encrypt SSL certificates. When sending mail via smtp.yandex.ru from sites on http://, letters go with a bang.
But when sending from sites to https:// I get a message in the logs. Connection could not be established with host smtp.yandex.ru [ #0]
Send settings:
'type' => 'smtp',
'host' => 'smtp.yandex.ru',
'port' => 465,
'login ' => '[email protected]'',
'password' => 'xxxxxxxx',
'encryption' => 'ssl',
What is the ambush? Where to tighten up?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
AxMuha, 2016-09-08
@AxMuha

Is the request coming from the server? If yes, then it does not depend on http, https of your site. Look for the reason elsewhere.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question