Not a bug Verification code sending failed

Status
Not open for further replies.

anyeyongheng

New member
Affected version
V2.16
Server error log
  • ErrorException: Email to 3426097652@qq.com failed: [E_WARNING] stream_set_blocking() expects parameter 1 to be resource, null given
  • src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php:283
  • 生成于: admin
  • 2020-01-05, 00:07
Stack trace
#0 [internal function]: XF::handlePhpError(2, '[E_WARNING] str...', '/home/ftp/a/any...', 283, Array)
#1 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php(283): stream_set_blocking(NULL, 1)
#2 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php(62): Swift_Transport_StreamBuffer->_establishSocketConnection()
#3 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php(113): Swift_Transport_StreamBuffer->initialize(Array)
#4 src/XF/Mail/Mailer.php(274): Swift_Transport_AbstractSmtpTransport->start()
#5 src/XF/Mail/Mail.php(395): XF\Mail\Mailer->send(Object(Swift_Message), Object(Swift_SmtpTransport), NULL, false)
#6 src/XF/Admin/Controller/Tools.php(278): XF\Mail\Mail->send(Object(Swift_SmtpTransport), false)
#7 src/XF/Mvc/Dispatcher.php(350): XF\Admin\Controller\Tools->actionTestEmail(Object(XF\Mvc\ParameterBag))
#8 src/XF/Mvc/Dispatcher.php(261): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'TestEmail', Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#9 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#10 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#11 src/XF/App.php(2184): XF\Mvc\Dispatcher->run()
#12 src/XF.php(391): XF\App->run()
#13 admin.php(13): XF::runApp('XF\\Admin\\App')
#14 {main}

Request status
array(4) {
["url"] => string(27) "/admin.php?tools/test-email"
["referrer"] => string(45) "https:/snip/admin.php?tools/test-email"
["_GET"] => array(1) {
["tools/test-email"] => string(0) ""
}
["_POST"] => array(2) {
["email"] => string(17) "***@qq.com"
["_xfToken"] => string(8) "********"
}
}



//******、
How to do??
 
Last edited by a moderator:
Status
Not open for further replies.
Back
Top Bottom