H
H
Him4enko2021-01-29 10:15:42
PHP
Him4enko, 2021-01-29 10:15:42

Not sending messages over SMTP (Swift Mailer)?

I use Swift Mailer, php 7.3 to send emails. When I try to send via SMTP (Yandex, Google, Mail.ru, etc.) I get an error:

Swift_TransportException: Connection could not be established with host smtp.yandex.ru
. What could be the problem? Sending parameters: server: smtp.yandex.ru; SSL: Yes port: 465.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim, 2021-01-29
@Him4enko

Try TSL and port 587. If it does not help, send the config where you enter all the settings

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question