Доброго вечера! Столкнулся с такой проблемой: подключил CloudFlare, перестал работать почтовый сервис. Почтовый клиент находится на серваке хостера.
Пытаюсь отправить тестовое письмо через Инструменты/тест исходящей почты, выдает:
Жернал ошибок:
#1 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Events/SimpleEventDispatcher.php(116): Swift_Events_SimpleEventDispatcher->bubble(Array, Object(Swift_Events_TransportExceptionEvent), 'exceptionThrown')
#2 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php(434): Swift_Events_SimpleEventDispatcher->dispatchEvent(Object(Swift_Events_TransportExceptionEvent), 'exceptionThrown')
#3 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php(145): Swift_Transport_AbstractSmtpTransport->throwException(Object(Swift_TransportException))
#4 src/XF/Mail/Mailer.php(294): Swift_Transport_AbstractSmtpTransport->start()
#5 src/XF/Mail/Mail.php(459): XF\Mail\Mailer->send(Object(Swift_Message), Object(XF\Mail\SmtpTransport), NULL, false)
#6 src/XF/Admin/Controller/Tools.php(280): XF\Mail\Mail->send(Object(XF\Mail\SmtpTransport), false)
#7 src/XF/Mvc/Dispatcher.php(352): XF\Admin\Controller\Tools->actionTestEmail(Object(XF\Mvc\ParameterBag))
#8 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'TestEmail', Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#9 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#10 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#11 src/XF/App.php(2483): XF\Mvc\Dispatcher->run()
#12 src/XF.php(524): XF\App->run()
#13 admin.php(13): XF::runApp('XF\\Admin\\App')
#14 {main}
["url"] => string(27) "/admin.php?tools/test-email"
["referrer"] => string(47) "
["_GET"] => array(1) {
["tools/test-email"] => string(0) ""
}
["_POST"] => array(2) {
["_xfToken"] => string(8) "********"
["email"] => string(21) "[email protected]"
}
}
Пытаюсь отправить тестовое письмо через Инструменты/тест исходящей почты, выдает:
Жернал ошибок:
- Swift_TransportException: Email to [email protected] from [email protected] failed: Connection could not be established with host mail.domain.com :stream_socket_client(): Unable to connect to ssl://mail.domain.com:465 (Connection timed out) Log data: ++ Starting XF\Mail\SmtpTransport !! Connection could not be established with host mail.domain.com :stream_socket_client(): Unable to connect to ssl://mail.domain.com:465 (Connection timed out) (code: 0)
- src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Plugins/LoggerPlugin.php:124
- Сгенерировано пользователем: name
- 19 Янв 2023 в 22:40
Трассировка стека
#0 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Events/SimpleEventDispatcher.php(138): Swift_Plugins_LoggerPlugin->exceptionThrown(Object(Swift_Events_TransportExceptionEvent))#1 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Events/SimpleEventDispatcher.php(116): Swift_Events_SimpleEventDispatcher->bubble(Array, Object(Swift_Events_TransportExceptionEvent), 'exceptionThrown')
#2 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php(434): Swift_Events_SimpleEventDispatcher->dispatchEvent(Object(Swift_Events_TransportExceptionEvent), 'exceptionThrown')
#3 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php(145): Swift_Transport_AbstractSmtpTransport->throwException(Object(Swift_TransportException))
#4 src/XF/Mail/Mailer.php(294): Swift_Transport_AbstractSmtpTransport->start()
#5 src/XF/Mail/Mail.php(459): XF\Mail\Mailer->send(Object(Swift_Message), Object(XF\Mail\SmtpTransport), NULL, false)
#6 src/XF/Admin/Controller/Tools.php(280): XF\Mail\Mail->send(Object(XF\Mail\SmtpTransport), false)
#7 src/XF/Mvc/Dispatcher.php(352): XF\Admin\Controller\Tools->actionTestEmail(Object(XF\Mvc\ParameterBag))
#8 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'TestEmail', Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#9 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#10 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#11 src/XF/App.php(2483): XF\Mvc\Dispatcher->run()
#12 src/XF.php(524): XF\App->run()
#13 admin.php(13): XF::runApp('XF\\Admin\\App')
#14 {main}
Содержимое запроса
array(4) {["url"] => string(27) "/admin.php?tools/test-email"
["referrer"] => string(47) "
У Вас недостаточно прав для просмотра ссылок.
Вход или Регистрация
"["_GET"] => array(1) {
["tools/test-email"] => string(0) ""
}
["_POST"] => array(2) {
["_xfToken"] => string(8) "********"
["email"] => string(21) "[email protected]"
}
}
Последнее редактирование: