Bellinis
Active member
I just upgraded my board in a test enviroment and got the following message when trying the Test outbound email tool:
What can be wrong?
ErrorException: Email to xxx@xxx failed: [E_WARNING] proc_close() has been disabled for security reasons
src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php:107
#0 [internal function]: XF::handlePhpError(2, 'proc_close() ha...', '/home/myforum...', 107, Array)
#1 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php(107): proc_close(Resource id #7)
#2 src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/SendmailTransport.php(134): Swift_Transport_StreamBuffer->terminate()
#3 src/XF/Mail/Mailer.php(293): Swift_Transport_SendmailTransport->send(Object(Swift_Message), Array)
#4 src/XF/Mail/Mail.php(261): XF\Mail\Mailer->send(Object(Swift_Message), Object(Swift_SendmailTransport))
#5 src/XF/Admin/Controller/Tools.php(246): XF\Mail\Mail->send(Object(Swift_SendmailTransport))
#6 src/XF/Mvc/Dispatcher.php(249): XF\Admin\Controller\Tools->actionTestEmail(Object(XF\Mvc\ParameterBag))
#7 src/XF/Mvc/Dispatcher.php(89): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'test-email', 'html', Object(XF\Mvc\ParameterBag), 'tools', Object(XF\Admin\Controller\Tools), NULL)
#8 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#9 src/XF/App.php(1880): XF\Mvc\Dispatcher->run()
#10 src/XF.php(328): XF\App->run()
#11 admin.php(13): XF::runApp('XF\\Admin\\App')
#12 {main}
What can be wrong?