Answer the question
In order to leave comments, you need to log in
Why does it give an error when sending yandex-email on the server?
When sending an email, the wheel spins for a long time and then falls off with error 500. In the Laravel logs: (Swift_TransportException (code: 0): Connection could not be established with host smtp.yandex.ru in the StreamBuffer.php:269 file
Only on the server. On the localhost Mail
is sent.This is an error: Laravel, server or Yandex?
Setting up mail (Yandex mail for domain):
MAIL_DRIVER=smtp
MAIL_HOST=smtp.yandex.ru
MAIL_PORT=465
MAIL_ENCRYPTION=SSL
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question