Не уходят письма по SMTP Yandex
Настроили отправку писем через SMTP но они вовсе перестали уходить.
По итогу не понятно в чем причина.
Вот файл mail.php
<?php return array ( 'default' => array ( 'type' => 'smtp', 'host' => 'smtp.yandex.ru', 'port' => '465', 'login' => 'noreply-sp@bigbox72.ru', 'password' => 'тутпароль', 'encryption' => 'ssl', 'pop3_host' => NULL, 'pop3_port' => NULL, ), );
Вот логи отправки
2022-04-25 15:21:02 188.66.34.134 Error sending email from "noreply-sp@bigbox72.ru" to "pavel@bigbox72.ru" with subject "Регистрация на сайте tn6.ru" Connection could not be established with host smtp.yandex.ru [Connection refused #111] #0 /home/s394762/domains/tn6.ru/public_html/wa-system/vendors/swift/classes/Swift/Transport/StreamBuffer.php(64): Swift_Transport_StreamBuffer->_establishSocketConnection() #1 /home/s394762/domains/tn6.ru/public_html/wa-system/vendors/swift/classes/Swift/Transport/AbstractSmtpTransport.php(115): Swift_Transport_StreamBuffer->initialize(Array) #2 /home/s394762/domains/tn6.ru/public_html/wa-system/vendors/swift/classes/Swift/Mailer.php(80): Swift_Transport_AbstractSmtpTransport->start() #3 /home/s394762/domains/tn6.ru/public_html/wa-system/mail/waMail.class.php(73): Swift_Mailer->send(Object(waMailMessage), Array) #4 /home/s394762/domains/tn6.ru/public_html/wa-system/mail/waMailMessage.class.php(152): waMail->send(Object(waMailMessage)) #5 /home/s394762/domains/tn6.ru/public_html/wa-system/verification/classes/waVerificationChannelEmail.class.php(436): waMailMessage->send() #6 /home/s394762/domains/tn6.ru/public_html/wa-system/verification/classes/waVerificationChannelEmail.class.php(412): waVerificationChannelEmail->send(Array, '\xD0\xA0\xD0\xB5\xD0\xB3\xD0\xB8\xD1\x81\xD1\x82\xD1\x80\xD0...', '<p>\xD0\x9F\xD0\xBE\xD0\xB7\xD0\xB4\xD1\x80\xD0\xB0...') #7 /home/s394762/domains/tn6.ru/public_html/wa-system/verification/classes/waVerificationChannelEmail.class.php(255): waVerificationChannelEmail->sendMessage(Array, '\xD0\xA0\xD0\xB5\xD0\xB3\xD0\xB8\xD1\x81\xD1\x82\xD1\x80\xD0...', '<p>\xD0\x9F\xD0\xBE\xD0\xB7\xD0\xB4\xD1\x80\xD0\xB0...') #8 /home/s394762/domains/tn6.ru/public_html/wa-system/webasyst/lib/actions/settings/template/webasystSettingsTemplateCheckSending.controller.php(93): waVerificationChannelEmail->sendSignUpSuccessNotification(Array, Array) #9 /home/s394762/domains/tn6.ru/public_html/wa-system/webasyst/lib/actions/settings/template/webasystSettingsTemplateCheckSending.controller.php(19): webasystSettingsTemplateCheckSendingController->sendMessages(Array, 'pavel@bigbox72....') #10 /home/s394762/domains/tn6.ru/public_html/wa-system/controller/waController.class.php(21): webasystSettingsTemplateCheckSendingController->execute() #11 /home/s394762/domains/tn6.ru/public_html/wa-system/controller/waJsonController.class.php(28): waController->run(NULL) #12 /home/s394762/domains/tn6.ru/public_html/wa-system/controller/waFrontController.class.php(263): waJsonController->run(NULL) #13 /home/s394762/domains/tn6.ru/public_html/wa-system/controller/waFrontController.class.php(190): waFrontController->runController(Object(webasystSettingsTemplateCheckSendingController), NULL) #14 /home/s394762/domains/tn6.ru/public_html/wa-system/controller/waFrontController.class.php(84): waFrontController->execute(NULL, 'settingsTemplat...', NULL) #15 /home/s394762/domains/tn6.ru/public_html/wa-system/controller/waDispatch.class.php(162): waFrontController->dispatch() #16 /home/s394762/domains/tn6.ru/public_html/wa-system/controller/waDispatch.class.php(32): waDispatch->dispatchBackend('webasyst/webasy...') #17 /home/s394762/domains/tn6.ru/public_html/wa-system/waSystem.class.php(610): waDispatch->dispatch() #18 /home/s394762/domains/tn6.ru/public_html/index.php(7): waSystem->dispatch() #19 {main}
Как я понял, не может соединиться с smtp.yandex.ru
Почему не понятно ...
1 ответ
Если вы ещё не нашли ответ на свой вопрос, подробную поддержку по настройке программных продуктов вы также можете получить от партнёров Webasyst.